Source codefunction() {
var sl = document.URL;
var value = top.getSelection();
if (!value || value == "") {
value = document.title;
}
var url = "BASE" + "/topics/.suggest?value=" + encodeURIComponent(value) + "&sl=" + encodeURIComponent(sl);
var win = window.open(url,'topincs-dialog', 'width=600,height=300,left=100,top=100,resizable=yes');
setTimeout(function() {win.focus();}, 1000);
}
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. A dialog will pop up, in which you are prompted for additional information (e.g. of which type the topic is). Only after committing this dialog, the resource is created.
Language: English Created: 2007-09-23 18:40:16, System Modified: 2009-08-26 17:23:12, Admin
Link,
No reifier
|