leviathan
Newbie
Posts: 1
Registered: 10/29/2002
Member Is Offline
|
| posted on 10/29/2002 at 02:27 PM |
|
|
Selecting a node
Hello.
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:
http://www.ert.gr/test/tree.asp
If you want to experiment try passing an ID to the page in the form
http://www.ert.gr/test/tree.asp?ID=..
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
|
|
|
|