Skip to content

Instantly share code, notes, and snippets.

@marushu
Last active January 20, 2016 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marushu/ed6ee01c7b4ed0787354 to your computer and use it in GitHub Desktop.
Save marushu/ed6ee01c7b4ed0787354 to your computer and use it in GitHub Desktop.
$.when($(introBg).delay(1500).fadeIn(5000, 'easeInOutCubic', function(){
$(this).parent().fadeOut(3000, 'easeInOutCubic');
})).then(function(){
$(".flex-outer").delay(3000).animate({opacity: 1}, 3000, 'easeInOutCubic', function(){
$("#test").delay(2000).animate({opacity: 1});
$("#logo-for-slide").delay(2000).animate({opacity: 1});
});
});
$("#test").on("click", function(){
$(".flex-outer").fadeOut(3000, 'easeInOutCubic');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment