Skip to content

Instantly share code, notes, and snippets.

@akmur
Last active December 11, 2015 22:48
Show Gist options
  • Save akmur/4671817 to your computer and use it in GitHub Desktop.
Save akmur/4671817 to your computer and use it in GitHub Desktop.
funzione che quando chiamata fa una animazione sul primo item, poi in sequenza come callback sui seguenti
function glowNext(jq){
jq.eq(0).animate({"color": "#FFC000"}, 75, function(){
(jq=jq.slice(1)).length && glowNext(jq);
});
};
glowNext($('span.tag'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment