jQuery(function() { jQuery('.carousel ul li .thumb img').hide(); }); jQuery(window).bind('load', function() { var i = 1; var imgs = jQuery('.carousel ul li .thumb img').length; var int = setInterval(function() { //console.log(i); check to make sure interval properly stops if(i >= imgs) clearInterval(int); jQuery('.carousel ul li .thumb img:hidden').eq(0).fadeIn(300); i++; }, 300); });