I have a simple unordered list with listitems as menu item i created the jquery just to have a funny rolover effect beeing:
$('#nav ul ul li').hover(function(){
$(this).animate({
marginLeft: "20px",
}, 300 );
}, function(){
$(this).animate({
marginLeft: "0px",
}, 300 );
});
the problem with this script is, if you rush over the menu several times, an animation queue builds up. i tried to use .stop() inbetween, but then it also stops the animations from the other listitems which should return to default state in any case. is there a way to stop() the queue per item? but not for the whole list?
Sander