Last active
December 11, 2015 22:48
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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