Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(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
You can’t perform that action at this time.