Find the red in your html code, and add the rest in the following code:
Code:
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
if(status == "block"){ //on open
header.className += " hover";
} else { //on close
header.className = header.className.substr(0, header.className.indexOf(" hover"));
}
}
I haven't tested this out yet, but it should add a class "hover" when the menu is open, and take it away when it's not. So all you have to do is add a class hover to your css with the styling you want.
Bookmarks