/ Published in: jQuery
First we have an element, that stays (in this case - progress indicator). After 2,5 seconds fades out for 500ms, and content under this element fades in.
div#content should have "display: none;"
div#content should have "display: none;"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery(document).ready(function(){ setTimeout(function(){ $("div.loader").fadeOut( 500, function(){ $("div#content").fadeIn( 3000); }); }, 2500); });