veramilomilo wrote:
> /* Top level menu item -- normal state images: THIS
WORKS */
> ul.MenuBarVertical #home {
> background-image: url(../images/MENU/norm_home.jpg);
> }
> /* Top level menu item -- hover state images: THIS HAS
NO EFFECT */
> ul.MenuBarVertical a:hover #home {
> background-image: url(../images/MENU/cur_home.jpg);
> }
For future reference, Spry questions are best asked in the
Spry forum:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
If the top selector works and the second one doesn't then it
may be due to the location of the a:hover in the second selector.
Without seeing a link to a copy of your page (please post links!)
it is difficult to determine what the markup up is that you've
applied the id of "home" to. Your second selector (the one that
doesn't work) means:
Apply a background image to an element with an id of "home"
that is within an a tag in the hover state that is within a UL with
a class of MenuBarVertical.
If I assume that #home is applied to an <a> tag, then
the second selector won't work as the #home link *is* the <a>
that is getting hovered over. You might be able to use something
like:
ul.MenuBarVertical #home:hover {
background-image: url(../images/MENU/cur_home.jpg);
}
For follow up questions, please post a thread in the Spry
group and post a link to your page so that the kind souls that help
out can see exactly what the code is for you css as well as for
your HTML (and even JavaScript in case there is some sort of
conflict involved).
--
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert