delay css change jquery code example
Example 1: jquery delay
$( "#foo" ).slideUp( 300 ).delay( 800 ).fadeIn( 400 );
Example 2: jquery delay to call function
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});