Skip to content

Instantly share code, notes, and snippets.

@jafstar
Created June 21, 2012 02:25
Show Gist options
  • Save jafstar/2963476 to your computer and use it in GitHub Desktop.
Save jafstar/2963476 to your computer and use it in GitHub Desktop.
Limelight Intro v1
//ENTER
function Intro(){
console.log('HOMEPAGE INTRO!!!');
$('#content').animate({opacity: 1},1000,function(){
$("#banner").animate({opacity: 1,marginTop: 0},500,function(){
$("#click").animate({opacity: 1,marginTop: 0},500,function(){
$("#services").animate({opacity: 1},500);
var box = $("#services");
//FOR EACH CHILD
box.children().each(function(i){
$(this).delay(i*160).animate({marginTop: 0,opacity: 1}, 500);
});
});
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment