$("#my-div-1").animate({height: "hide"}, 1000, function(){ $("#my-div-2").animate({height: "show"}, 1000); });