Skip to content

Instantly share code, notes, and snippets.

@cacheleocode
Created November 27, 2012 01:21
Show Gist options
  • Save cacheleocode/4151788 to your computer and use it in GitHub Desktop.
Save cacheleocode/4151788 to your computer and use it in GitHub Desktop.
fade in one after another
$(document).ready(function(){
$("div#foo").fadeIn("fast",function(){
$("div#bar").fadeIn("fast", function(){
// etc.
});
});
$('#quotes img:first-child').fadeIn(2000,function(){
$('#quotes img:last-child').fadeIn(2000,function(){
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment