Return to Snippet

Revision: 43480
at March 24, 2011 22:35 by kirichev


Initial Code
jQuery(document).ready(function(){ 
	setTimeout(function(){
		$("div.loader").fadeOut( 500, function(){
	      	$("div#content").fadeIn( 3000);
	   	});
	  }, 2500);
	});

Initial URL


Initial Description
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;"

Initial Title
FadeIn and FadeOut with timeout

Initial Tags


Initial Language
jQuery