open page and tree shows position

Explorer like navigation tree for websites
Navigationsbaum für Internet Auftritte.
Post Reply
Belinda

open page and tree shows position

Post by Belinda »

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
User avatar
Hans
Site Admin
Posts: 77
Joined: 16 Dec 2005, 16:52
Location: Germany
Contact:

Selecting an item

Post by Hans »

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
Your forum admin
Guest

thanks

Post by Guest »

Hello Hans,

Thank you for answering, and yes, your answer was exactly what I hoped to hear. :)

Cheers,

Belinda
Post Reply