jQuery(window).load(function() { jQuery('#loaderpage').fadeOut( "slow", function() { jQuery('#loaderpage').remove(); jQuery('div.slider').css({ visibility: "visible" }); }); })