I have Tree Menu PRO.
I want to have if somebody clicks on a MainFolder (Parent) the tree (Child) opens and the link of the MainFolder (Parent) opens (in a frame).
So for now i have
but the comment for opening the tree is missing.
ow to get that?
what you have now will load the frame, but it will not open the node.
If you use PRO version of the script you can use the event system and API to change that. Hook the function to "select" event. In that function call .open() method of the node and then return true to allow the default handler.
sorry, but how do i hook the function to "select" event?
and how to call .open() method of the node?
is there a similar code or example somewhere?
There is this sample in the tree documentation: