[jQuery] Re: don't animate elements which are in progress of animation?

2008-06-01 Thread next
new one. > > untested, but something like this in the hover functions might be the go: > if ($(this).queue("fx").length < 1) ...etc > > http://docs.jquery.com/Effects/queuefor more info > > > > next wrote: > > > how can i animate only static e

[jQuery] don't animate elements which are in progress of animation?

2008-05-31 Thread next
how can i animate only static elements? My code: $(document).ready(function() { $("#control_panel li a").hover( function(){ $(this).animate({paddingLeft: "50px"}, 200); }, function(){ $(this).a