Any node of the tree can be used to execute a JavaScript function
within the current page.
To instruct the tree to execute a JavaScript function (rather than url), the
target element of the node must be set to "javascript". The function to be executed should then be entered in the url
element of the item.
In addition it is vital that "mayscript" is present in the applet
tag e.g,
<applet archive="Treemenu.jar" code="TreeApplet" width="200"
height="180" mayscript>
For an example of the tree menu executing a JavaScript function please click
here.
|