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

How to get rid of active link bg color in main menu


Poster: nnylive
Dated: Sunday February 3 2008 - 23:34:39 GMT

Hi Ruth, maybe you can help with this before I submit a support ticket. Using table menu and all is working fine except that if you use the menu to go to a page, not only is the sub-menu link of the page showing onbgcolor but so is the main menu that contains the submenu with the link. My table main menu bg must stay transparent at all times.

Confused yet :)

Go to http://edgeoftownauto.com/eot2 to see what's happening.

I don't care if the sub-menu is highlighted as active when on the page, but not the main menu.

Don

Re: How to get rid of active link bg color in main menu


Poster: Ruth
Dated: Monday February 4 2008 - 3:37:57 GMT

Hi,

I see you did it using one of the methods below :)

You can

1. create a separate style for submenus and turn off the pagebgcolor option in the main menu style.
2. create a separate style for submenus and add nobreadcrumb=true; to the main menu style.
3. add nobreadcrumb=true; to each menu item in the main menu that you don't want to show a match, this is useful if the style used is the same for main and sub menus.

Actually, if the submenus and main menus use the same style for almost everything, the easiest way would be to create the main menu style without the pagebgcolor= in it, then using the copyOf method create the substyle and add only those items that are different than the main menu style. Take a quick look here for an explanation viewtopic.php?f=14&t=4595

Hope this helps.

Ruth

Re: How to get rid of active link bg color in main menu


Poster: nnylive
Dated: Monday February 4 2008 - 3:59:47 GMT

Yup... figured it out and just commented out the pagebgcolor in my main menu style. I didn't even know about the nobreadcrumb part. With as may config variations as can be made with this, I figure MAYBE I'll learn them all in about 6 months :roll: !

I've got to update a clients site to add a new franchise so I figured it's time to see what this can do. After I make sure they want the menu, I'll get licence for them. For now testing on their site w/free version. Pro version is on my own site.

Thanks for responce Ruth!
Don

Ruth wrote:
Hi,

I you did it using one of the methods below :)

You can

1. create a separate style for submenus and turn off the pagebgcolor option in the main menu style.
2. create a separate style for submenus and add nobreadcrumb=true; to the main menu style.
3. add nobreadcrumb=true; to each menu item in the main menu that you don't want to show a match, this is useful if the style used is the same for main and sub menus.

Actually, if the submenus and main menus use the same style for almost everything, the easiest way would be to create the main menu style without the pagebgcolor= in it, then using the copyOf method create the substyle and add only those items that are different than the main menu style. Take a quick look here for an explanation viewtopic.php?f=14&t=4595

Hope this helps.

Ruth

Re: How to get rid of active link bg color in main menu


Poster: Ruth
Dated: Monday February 4 2008 - 4:18:56 GMT

This menu can be configured to do so much, it's incredible. Take a look at this area http://support.milonic.com/demos/ which has a bunch of js functions that were created by Kevin, who used to help here. There's no support for those top functions, except the IE filters one, but they might come in useful, or give you some ideas.

Also, look in the extras folder, there are so many types, i.e. php, asp, xml menus, frames etc. Also, there's a section on using css to do your menu styling, though it's basic, since I did it and I don't do a lot of css. And, using borders, and also inserting babelfish

http://support.milonic.com/beginners/css_styling/

http://support.milonic.com/beginners/borders.htm

http://www.milonic.com/babelfish_milonic.php

Below my name are links to the various properties, i.e. style, menu and item properties. Most are self explanatory.

And, finally, I think v6 is about to go into testing and it sounds like it is beyond even what 5 is.

Ruth