俩个参数的写法
例子:
$('#div1').animate({num:'auto'},{
duration : 1000, //运动时间
easing : 'linear', //运动形式
complete : function(){}, //回调函数
step : function(a,b){ //检测整个运动的过程
$('#div1').html( parseInt(b.pos * 2389423) );
}
});