Return to Snippet

Revision: 44425
at April 11, 2011 20:44 by marzsman


Initial Code
$('.imageWrapper div:not(:first)').hide();
var length = $('.stores .imageWrapper div').length;
animateLogo();

function animateLogo() {
    index = (index >= length)? 1 : index+1;
    $('.imageWrapper div:nth-child('+index+')').delay(2000).fadeIn(1000,animateLogo).delay(2000).fadeOut(1000);
}

Initial URL

                                

Initial Description
FadeIn and FadeOut cycle through some images in a div

Initial Title
FadeCycle Images

Initial Tags
jquery, images

Initial Language
jQuery