【发布时间】:2012-07-30 02:02:00
【问题描述】:
我在使用 JS 为图像设置动画时遇到问题。当我只为width 和height 设置动画时,它可以正常工作。当我添加top/marginTop 或left/marginLeft 时出现问题。我想使用它的原因是缩放效果。但是我认为它首先添加width 和height,而不是添加top/left 值。它会产生“抽搐”效果,看起来很糟糕,我无法摆脱它。
这是我的简单滑块的工作示例 http://łuckoś.pl/slider/
我什么都试过了,即使是jQuery.fx.interval = 50;
感谢您的宝贵时间
【问题讨论】:
标签: jquery image resize jquery-animate