JQuery retrieve specific li from ul
Hello everyone,
I have this problem:
I wrote this simple snippet to animate a listitem from an unordered list. Here it is:
- function OnLoad() {
$('#navigation').mouseover(function() {
$(this).find('li').stop(true, true).effect("pulsate", { times:2 }, 150);
});
So I have a div with id "navigation" which contains an <ul>, and the <ul> has several <li> items.
What I want to do is to animate the <li> items as i rollover them.
My question is , how can I only animate the current <li> I rollover, because right now when I rollover one, all <li> items animate.
Any tip is highly appreciated.
Thank you.
Regards,