Return to Snippet

Revision: 44882
at April 20, 2011 02:20 by xz


Initial Code
$('a').hide();
(function shownext(jq){
    console.log(jq);
    jq.eq(0).delay(500).fadeIn("slow").delay(5000).fadeOut("slow", function(){
        (jq=jq.slice(1)).length && shownext(jq);
    });
})($('a'))

Initial URL
http://jsfiddle.net/MhEUt/

Initial Description

                                

Initial Title
Animating elements recursively using a recursive callback with a delay

Initial Tags
jquery, animation

Initial Language
jQuery