开发者

jQuery Animate Easing on specific property [closed]

开发者 https://www.devze.com 2023-04-05 15:19 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

I want to animate 4 properties:

top, width, opacity and height

Now i have them all set to default easing and duration of 500.

I want to set the opacity easing to easeInQuad using an easing plugin. If i set the animate easing then all the properties use that easing method. If i animate the opacity in its own animate method, it will only animate after the first animate finishes. Is there anyway i can use this easing method for opaci开发者_StackOverflow中文版ty while the other properties use the default and have them both happen at the same time?

Thanks


Read http://api.jquery.com/animate#per-property-easing for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号