$('#book').animate({
opacity: 0.25,
left: '+=50',
height: 'toggle'
}, 5000, function() {
// Animation complete.
});
animate()函数的原型是:
.animate( properties, [duration,] [easing,] [complete] );
为什么上面的调用中,没有传入easing可选参数,而直接跳过去传入complete函数了呢?
jquery允许跳过可选参数?
--
FROM 61.135.165.*