tedgjenks
Joined: 27 Sep 2005 Posts: 2
|
Posted: Tue Sep 27, 2005 3:14 pm Post subject: popup from node |
|
|
Does anybody know how to generate a popup window when a node is clicked? I tried implementing this with arbitrary HTML, but the tree seems to break if I include and "javascript:" calls in the node definition.
Here is the node definition:
['</a><A HREF="javascript:popup(...)">Display</A><a>', null, null]
Here is the popup function (defined in its own .js file):
function popup(url, options){
newWindow = window.open(url,'popup',options);
}
I have tested the popup function on a standalone page, and it works. I can include non-scripted content in the hyperlink.
Thanks,
Ted |
|