There is no built in mechanism by the script to highlight the menu item the user is currently on (based on the page he/she is on), so I assume you're manually adding a CSS class to the menu item in question to accomplish this? Note that the script does dynamically/temporarily add a class of ".selected" to the parent menu item the mouse is currently over (including any of its sub menus), which by default can be modified inside topbar.css, specifically:
Code:
.mattblackmenu a.selected{
background: black; /*background of tab with "selected" class assigned to its LI */
}
But modifying this CSS rule only alters the style of the parent menu item the mouse is currently over- the rule is removed as soon as the mouse is out of this menu item plus all of its child menus. You can see this in action by visiting the DD script page, and noticing how the parent menu item's background color turns black while the mouse is over it or any of its children, and turns back to gray when it's not.
Bookmarks