Hello Hans,
Before I start to use this nice tree menu, I have a question:
Is it possible to surf to a page, and then see in the tree where you are?
So for instance, I would link to the topic "Telescope" from another website, and the tree would collapse: Projects > Plants > Big Storage > Digester ??
I hope you understand what I mean.
Thanks in advance for your time.
greetings,
Belinda
open page and tree shows position
Selecting an item
Hi Belinda,
it's very easy to adjust the selection in the tree according to the page actually loaded in the main-frame. You only have to include the path to 'js/default.js' in the header of the page and call the routine 'loaded(document)' when the page is loaded. With this routine the page registeres within the treemenu and selects the appropriate menu-item having the same path as the loaded document.
The procedure is described in the help-files of TreeMenu -> First steps -> Select item. When activating 'autoclose' for the tree, also the subtree you left will be closed.
Does this answer your question? I hope TreeMenu will satisfy your wishes.
Hans Bauer
it's very easy to adjust the selection in the tree according to the page actually loaded in the main-frame. You only have to include the path to 'js/default.js' in the header of the page and call the routine 'loaded(document)' when the page is loaded. With this routine the page registeres within the treemenu and selects the appropriate menu-item having the same path as the loaded document.
The procedure is described in the help-files of TreeMenu -> First steps -> Select item. When activating 'autoclose' for the tree, also the subtree you left will be closed.
Does this answer your question? I hope TreeMenu will satisfy your wishes.
Hans Bauer
Your forum admin