[support] How to have current menu item highlighted when it's an image?

Jody Cleveland Cleveland at winnefox.org
Sat Dec 16 17:23:48 UTC 2006


> Hi.
> Why not use pure CSS!?
> Each link have its own id and an image containing all versions 
> (non-highlighted, highlighted, active). You can than select the image 
> part by changing the background position with css (#item1:hover {}; 
> #item1:active {}).
> The technique is called "image rollover". More details here [1] or at 
> alistapart [2].

Brilliant! Not sure why I didn't think of that before. Is there a way to
control two images with a rollover? I have the button state change, as
well as, an image below it.

Thanks!

- jody


More information about the support mailing list