6

こんにちは私はdivを同時にスケーリングしてアニメーション化する必要があります。

このようなもの。

$('#div').effect('scale'{percent:200},
'animate',{left:200});

ありがとう。

これが私が見つけた解決策です。

 $('#div').effect('scale'{percent:200},1000);
 $('#div').animate({left:100,top:100},1000);
 $('#div').fadeTo(1100,0));
4

1 に答える 1

6
$('#div').animate({
   left: 200,
   height: ($(this).height()*2),
   width: ($(this).width()*2)
}, 1000);
于 2012-04-12T22:29:44.640 に答える