I have this:
$('div#how-does li a').hover(
But when I rollover my link several times back and forth, the class still sticks. I thought adding
fixed that? I also added
, and remains the same. Thoughts?
i think you need to add 2 class names. like this example from jquery documentation:
so you need to add something like
and style the new class
Thanks Akurtula for responding!
I just tried, but it does do the same thing, although your response would make sense. Weird?
hey how about this
$(‘div#how-does li a’).hover(
maybe the UL you missed might be the problems
over here it works:
ps, I forgot you dont need my previous example for a hover state :)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".