salto
05-20-2011, 12:59 AM
http://www.dynamicdrive.com/style/csslibrary/item/jquery_drop_line_menu/P10/
I cannot get the 'current' class working in the above CSS menu.
It is as follows in the stylesheet
/*background of main menu bar links onMouseover*/
.droplinebar ul li a:hover, .droplinebar ul li .current{
etc
}
but when I enter <li class="current"> in any of the main menu bar list items nothing happens. Maybe the selector is wrong?
Same issue when I try to add a class="current" to the sub level menu links, for example:
.droplinebar ul li ul li .current {
color: red;
}
I have no idea how to get a class="current" working for the main and the sub level links. Help most welcome!
Thank you for your time on this matter.
I cannot get the 'current' class working in the above CSS menu.
It is as follows in the stylesheet
/*background of main menu bar links onMouseover*/
.droplinebar ul li a:hover, .droplinebar ul li .current{
etc
}
but when I enter <li class="current"> in any of the main menu bar list items nothing happens. Maybe the selector is wrong?
Same issue when I try to add a class="current" to the sub level menu links, for example:
.droplinebar ul li ul li .current {
color: red;
}
I have no idea how to get a class="current" working for the main and the sub level links. Help most welcome!
Thank you for your time on this matter.