CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
I’m trying simple fade in / out effects on hover over "li" …it works but it just keeps repeating (fadein/out) when i keep my mouse over them.
Also, how can i make the effects so the ‘li’ that i hover will only have the animation instead of the entire ‘li’
Yeah, it will repeat the animation if you hover over it for a number of times in a short span. To prevent this just use a stop() function before calling the fadein/fadeout function
try assigning some classes then it might move only the li you hover on.. But the code looks fine to me.. it should only animate the item on which you hover… What exactly is happening?
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed