jQuery动画animate使用show hide toggle

来源:互联网 发布:gta5ol捏脸 数据 萝莉 编辑:程序博客网 时间:2024/05/17 01:10

如果使用的是“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 );      });




0 0
原创粉丝点击