There isn't a script avialable as it is something I threw together one afternoon.
The menu is basically static HTML, but uses CSS to change the colour of
the link and the table box it resides in when the mouse is moved over
the menu item.
To cut down on the amount of HTML used I also place the CSS that changes the table coulour into 3 JavaScript functions.
Just do a veiw source to see how it is done and the 3 JavaScript functions I use are:-
//Navigation rollover
function NavIn(menItem) {
menItem.style.borderColor='#999999';
menItem.style.backgroundColor='#CCCCCC';
}
function NavOut(menItem) {
menItem.style.borderColor='#E7E7E7';
menItem.style.backgroundColor='#E7E7E7';
}
function NavCat(menItem) {
menItem.style.borderColor='#FFFFFF';
menItem.style.backgroundColor='#FFFFFF';
} |