【发布时间】:2015-05-28 08:44:07
【问题描述】:
我想在三秒内将其从 121 x 121 像素扩展到 151 x 151 像素。
我这样做了,但这不起作用。
#hexpand $( ".animate" ) #hexpand(
{
width: "151px",
height: "151px",
},
5000 );
【问题讨论】:
标签: php jquery ajax performance jquery-ui
我想在三秒内将其从 121 x 121 像素扩展到 151 x 151 像素。
我这样做了,但这不起作用。
#hexpand $( ".animate" ) #hexpand(
{
width: "151px",
height: "151px",
},
5000 );
【问题讨论】:
标签: php jquery ajax performance jquery-ui
这里是动画的使用方法
jQuery('#hexpand').animate({width:151,height:151},400);
【讨论】:
试试这个:
$("#hexpand").animate({
width: 150,
height: 150
}, 5000);
【讨论】: