Friday, 15 February 2013

css - Jquery fade in images one by one, in reverse -


I am using the code below to fade every image from 1 to 1. How can I reverse this so that the image loads in opposite order?

  img {display: none;} $ ('img'). Each (function (i) {$ (this) .delay (i * 100). FadeIn ();});  

You can use normal for loops and only decrease

< Pre> (code count = $ ('img'}

Hope this helps.


No comments:

Post a Comment