jquery - Run animation after other animation -


see http://jsfiddle.net/bnmpc/ working example.

i've got these orbs grow , shrink on , off of hover. i've got them "nudging" around other orbs. when on 1 @ time, , let of animations complete, works great.

the problem when hover on many quickly-- "nudging" doesn't work correctly. using .filter(':not(:animated)') make sure grow , shrink animations did not interrupted, i'm not sure if right way go it.

if got questions correctly, set next animation in callback function

$(selector).animation('slow', function(){$(selector).animation();}); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -