1) Script Title: Glossy Accordian CSS
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-glossy.htm
3) Describe problem:
I am trying to get the background of the active (expanded) menu item to change color. I basically want the menu item once selected to keep the same color as it does on hover.
I tried to add to the css the following however it did not work
.menuitem:active{
background-image: url(glossyback2.gif);
}
I also assume I should be able to do it under the
ddaccordion.init
togglehtml: ["suffix", "<img src='plus.gif' class='statusicon' />", "<img src='minus.gif' class='statusicon' />"],
However cannot seem to workout how to place background-image: url(glossyback2.gif); within the togglehtml function
any help greatly appreciated...
rob
Australia



Reply With Quote


Bookmarks