【发布时间】:2010-04-23 17:18:28
【问题描述】:
我不明白为什么function() 在.animate 之后没有执行。示例 jQuery 代码如下:
这是第 1 行中的函数,从技术上讲,它应该包含第 2 行中的内容。
我需要它如何工作:
1 - 动画 $('#spotlight_img_' + thisSpotId) 向上
2 - 向下动画$('#spotlight_img_' + lastSpotId)。
现在因为第二个动画是 0 秒长,它发生在第一个动画完成之前。
你可以在这里看到它的实际效果:http://design.vitalmtb.com/index2.html
非常感谢您的帮助!
【问题讨论】:
标签: jquery jquery-animate