Member Is Offline
| posted on 10/29/2002 at 02:27 PM
Selecting a node
I am checking out the tree menu component.
It is very nice but have a few questions.
How can I access a node in the tree and how can i toggle its open and close state?
As a test I wrote an asp page which builds dynamically a tree menu.
If a parameter is passed with an ID I attempt (from client script)
to open the node with that id.
Two more questions.
1)What is the syntax of the *_tpl.js file?
2) Each node is declared as [Caption,Url,[children]]
where Url can be null and children are optional.
Have I understand it correctly?
An example of what I am attempting to achieve can be found at:
If you want to experiment try passing an ID to the page in the form
To discover the id of each node check the text displayed on the status bar when the mouse is over the node.
I hope you can help.
Thanks in advanced,Anakreon