JQuery animate left and scale
javascript, jquery, jquery-ui
Solution
$('#div').animate({
left: 200,
height: ($(this).height()*2),
width: ($(this).width()*2)
}, 1000);
Problem
Hi I need to scale and animate div left same time. Something like this. ``` $('#div').effect('scale'{percent:200}, 'animate',{left:200}); ``` Thanks. This is the solution I found. ``` $('#div').effect('scale'{percent:200},1000); $('#div').animate({left:100,top:100},1000); $('#div').fadeTo(1100,0)); ```