Source codefunction() {
var value = top.getSelection();
if (!value || value == "") {
value = document.URL;
}
var url = "BASE" + "/occurrences/.suggest?value=" + encodeURIComponent(value);
var win = window.open(url,'topincs-dialog', 'width=800,height=600,left=100,top=100,resizable=yes');
setTimeout(function() {win.focus();}, 1000);
}
Created: 2008-03-13 17:17:20, Admin Modified: 2009-07-16 07:55:59, Admin
Link,
No reifier
Usage
*Allows you to create a new occurrence from any web page that you are visiting in your browser.*
If some text is selected on the web page, this text will become the value of the occurrence. Otherwise, the URL of the web page will be the value.
In both cases, a dialog will pop up, in which you are prompted for additional information (e.g. to which topic to add the occurrence to). Only after committing this dialog, the occurrence is created.
Language: English Created: 2008-03-13 17:17:20, Admin Modified: 2009-07-16 07:55:59, Admin
Link,
No reifier
|
Other web pages about this subject3 |