jQuery("#footer").hide(1000); setTimeout(function(){ console.log("1"); jQuery("#footer").show(1000); console.log("2"); },1000);