Skip to content

Instantly share code, notes, and snippets.

@darkhelmet
Created August 29, 2009 23:28
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 darkhelmet/177742 to your computer and use it in GitHub Desktop.
Save darkhelmet/177742 to your computer and use it in GitHub Desktop.
(function($){
$.doAfter = function(time,f) {
$('body').animate({ opacity: 1 }, time, f);
};
})(jQuery);
$(document).ready(function(){
$.doAfter(2500,function() {
$('.fadeout').fadeOut('slow');
});
});
(function($) {
$.doAfter = function(time, f) {
setTimeout(f, time);
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment