I will definitely add sprites though, I forgot to mention that. Thanks for
that suggestion.
--
View this message in context:
http://www.nabble.com/Need-Help-with-changing-css-on-an-object-tp22394562s27240p22405565.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
phpbutcher wrote:
>
> Charlie is absolutely right. You can simplify it by using the
> css :hover to do your rollover states. You still however need to do
> something on top of that to handle the current problem you're having
> with it keeping the state change when a user clicks on
> one of the
Chris
Charlie is absolutely right. You can simplify it by using the
css :hover to do your rollover states. You still however need to do
something on top of that to handle the current problem you're having
with it keeping the state change when a user clicks on
one of the nav elements. That's reall
good case of trying to add a bunch of script when simple css works.
Spriting the menu images into one (with or without the text included on
each part of image), adding a :hover in css avoids an unnecessary
server request for another image and works if scripting disabled
junk.mail...@gmai
Hi Chris
My suggestion to your problem will involve a few changes to your
structure, but I don't think they should be too bad for you to pull
off.
Since the texts in your nav don't change on rollover, I would make
them a separate image all together. Then you could make just 2
different backgroun
5 matches
Mail list logo