Skip to content

Instantly share code, notes, and snippets.

@mediaupstream
Created July 28, 2011 18:26
Show Gist options
  • Select an option

  • Save mediaupstream/1112173 to your computer and use it in GitHub Desktop.

Select an option

Save mediaupstream/1112173 to your computer and use it in GitHub Desktop.
jQuery.eachStep - Demo One
<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