Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:07

Open a menu by Url? (SOLVED)


Poster: Brannmark
Dated: Thursday April 27 2006 - 9:22:51 BST

I need to open a treemenu by url. I have tried the openmenubyurl script but its not what I want. That scripts tries to open the menu all the time. Ie it works perfect when page loaded the first time. Then the user clicks and opens a another tree menu section. Then the user decides to move away from the menu before clicking a "item". The the openmenubyurl closes the open tree and tries to open the "correct" tree.

I dont want this. I want to expand the correct tree on page load. But after that, nothing should happend.

So how do I go about writing such a script for the menu? Need to use URL for opening the correct tree...


Found how to tweak this.

In openmenusbyurl.js this row can turn it on of:

Code:
resetAutoOpen=false      // parameter This bit allows the menu to re-open if sibling menus have been closed, displaying the menu again if required.


Poster: Ruth
Dated: Thursday April 27 2006 - 18:12:20 BST

Hi,

Thanks for the solution post. We really appreciate providing the help for anyone else who might have the same question.

:)

Ruth