Created
July 28, 2011 18:26
-
-
Save mediaupstream/1112173 to your computer and use it in GitHub Desktop.
jQuery.eachStep - Demo One
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| // Toggle the .rotate class on all demo kitties in order | |
| // with a delay of 200ms each step | |
| $('#demo1 img').eachStep(200, function(i, el, duration){ | |
| $(el).toggleClass('rotate'); | |
| }); | |
| </script> | |
| <div id="demo1"> | |
| <img src="http://placekitten.com/101/80"> | |
| <img src="http://placekitten.com/101/85"> | |
| <!-- ... more placekitten here --> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment