如果使用的是“hide”、“show”或“toggle”这样的字符串值,则会为该属性调用默认的动画形式.
$("button:eq(0)").click(function () {
$("#panel")
.animate({height : "150" } , 2000)
.animate({width : "300" } , 2000)
.hide(2000)
.animate({height : "show" , width : "show" , opacity : "show" } , 2000 )
.animate({height : "500"} , 2000 );
});