PDA

View Full Version : Resolved Breadcrumb Effect on All Levels Navigational Menu



mindretreat
05-08-2009, 05:51 PM
1) Script Title: All Levels Navigational Menu (v2.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm (http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm)
3) Describe problem:

For Demo 1 that came with the script, is there a way to make the second and third level stay highlighted, leaving a breadcrumb effect?

For eg, Under DHTML --> Item Folder 3a --> Sub Item 3.1a
how to make Item Folder 3a remain highlighted even though mouse has moved to Sub Item 3.1a

Please kindly assist.

Thank You very much in advance.

Snookerman
05-08-2009, 07:13 PM
Find this code in your ddlevelsmenu-base.css file:

.ddsubmenustyle li a:hover {
background-color: black;
color: white;
}
and replace it with this one:

.ddsubmenustyle li:hover > a {
background-color: black;
color: white;
}

Good luck!

mindretreat
05-08-2009, 08:12 PM
It works!

Thank You!

Snookerman
05-08-2009, 08:43 PM
Of course it works :p heheh, I'm glad to help you.

Happy coding!