jQuery Animation: Queue, Stop()
When ".stop()" is used, all specified elements will stop their animation immediately and allow the next queued up animation to execute.
By inserting "queue : false", we can stop the animation from queuing up in the animation buffer.
To combine usage for both methods,
Reference Website:
http://tutsvalley.com/tutorials/making-a-cool-thumbnail-effect-with-zoom-and-sliding-captions
http://www.netiblog.com/programming/jquery/turning-off-the-jquery-animation-queue
$('li').stop().animate({...code....});
By inserting "queue : false", we can stop the animation from queuing up in the animation buffer.
$('li').animate({...code...},{queue:false},1000);
To combine usage for both methods,
$('li').stop(true).animate({...code...});
Reference Website:
http://tutsvalley.com/tutorials/making-a-cool-thumbnail-effect-with-zoom-and-sliding-captions
http://www.netiblog.com/programming/jquery/turning-off-the-jquery-animation-queue
1 Comments:
Wow, very informative tutorials. This is exactly what I was looking for. As I’m working with different image post production platforms. So, I think this tutorial will help in my editing work as well. Thanks for sharing this. Please keep sharing more. I’ll be waiting for your next post. image post production
Post a Comment
Subscribe to Post Comments [Atom]
<< Home