finish():アニメーションの最後へ飛ぶメソッド
$("#start").click(function(){ $(".anime").animate({ width:"80%", height:"100px" },3000); }); $("#stop").click(function(){ $(".anime").stop(); }); $("#finish").click(function(){ $(".anime").finish(); }); $("#reset").click(function(){ $(".anime").css({ width: "", height: ""}); });