css - Jquery fade in images one by one, in reverse -
i using below code fade in each image 1 1. how in revers images load in opposite order?
img {display:none;} $('img').each(function(i) { $(this).delay(i * 100).fadein(); });
you use normal loop , decrement
for(var count = $('img').length-1; count >= 0; count--) { $('img:eq('+count+')').fadein(); }
hope helps.
Comments
Post a Comment