Source codefunction() {
var sl = document.URL;
var value = top.getSelection();
if (!value || value == "") {
value = document.title;
}
var url = "BASE" + "/wiki/.new-topic?name=" + encodeURIComponent(value) + "&sl=" + encodeURIComponent(sl);
var win = window.open(url);
win.focus();
}
Created: 2007-09-23 18:40:16, System Modified: 2009-07-16 07:56:14, Admin
Link,
No reifier
Usage
*Allows you to add the web page you are visiting as a new information resource.*
The name of the resource will be the title of the web page, or the selection if present. The topic will have the URL of the web page as a subject locator. The Topincs Wiki dialog to create a new resource will open, in which you can type the resource. Only after committing this dialog, the topic is created.
Language: English Created: 2007-09-23 18:40:16, System Modified: 2009-08-26 17:23:12, Admin
Link,
No reifier
|