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:10

Keeping submenus open after click


Poster: Dagonae
Dated: Saturday June 13 2009 - 9:49:41 BST

Dear Milonic. I am working on the New Z-Land Project website (demo at http://www.designdrake.com/tvp/demo.html). I would like to use Milonic to create the navigation illustrated in the demo. What I have so far: http://www.designdrake.com/tvp/milonic_menu/index.html

If you mouse over (1 > 1.1 > 1.1.1) and click on the final link it displays the page content. However, I would like to keep ALL levels of the menu open after click. Right now the submenus are closing after click. If the menus stay open, the user can use the menu itself as a breadcrumb.

I have been through the forum and other Milonic discussion boards but have not been able to find a solution that I can make work. Can you please help us?

Regards, Dagonae

Re: Keeping submenus open after click


Poster: Ruth
Dated: Saturday June 13 2009 - 19:49:23 BST

Hi,

There is a module available in the downloaded menu called openmenusbyurl.js At the demo site go to the bottom area which contains demos for module created by Milonic. The one you want is called open menus by url :lol: http://support.milonic.com/demos/

When you get to that demo mouseover Test Item 2 and go down to Test 2-5 which has another submenu, then click any of those items. When you get to one of those pages you'll see that all the submenus are open :)

Ruth

Re: Keeping submenus open after click


Poster: Dagonae
Dated: Monday June 15 2009 - 22:11:17 BST

Hi Ruth

I tried this earlier while I still had the breadcrumb code Kevin provided and it was not working. I removed the breadcrumb code and it works well. Thank you for your help. If I can push my luck, please see:

http://www.designdrake.com/tvp/index.html

Just mouseover the menu, but don’t click.

In Internet Explorer: The menus are top aligned.

In Firefox and Chrome: The secondary and tertiary menus are lower than the primary.

In the menu_data.js file, I am using top=191;

I am not sure how to fix this. In case it helps, it seems that the Milonic menu inherits some properties from the anchor tag in my CSS file.

Any thoughts?

Re: Keeping submenus open after click


Poster: Ruth
Dated: Tuesday June 16 2009 - 23:18:36 BST

Hi,

You shouldn't have the problem once you are using a licensed version. For some reason, IE is NOT reading your link to Milonic while FF is. If you notice in FF there is no MILONIC as the first item in the menus, but there is in IE. Not sure why that is happening, unless it has to do with the position relative and the fact that the submenus have to be built first, which they are using the method you have, but maybe the menu is built and it is not reading the link before it gets build so it thinks it isn't there.

Ruth