Keeping submenus open after click

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Dagonae
Beginner
Beginner
Posts: 3
Joined: Sat Jun 13, 2009 9:28 am

Keeping submenus open after click

Post by Dagonae »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Keeping submenus open after click

Post by Ruth »

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
Dagonae
Beginner
Beginner
Posts: 3
Joined: Sat Jun 13, 2009 9:28 am

Re: Keeping submenus open after click

Post by Dagonae »

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?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Keeping submenus open after click

Post by Ruth »

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
Post Reply