【发布时间】:2011-05-18 08:37:22
【问题描述】:
早上好,先生。堆栈溢出。
是否可以在 2 个 img 之间进行 .animate ?比如,改变 img src 并淡入淡出到新的 img src?
HTML
<img class="classimg" src="images/example.png" />
我的伪 jquery/javascript 代码:
On Click
Animate .classimg height 50 width 100 opacity 1, 600
Animate .classimg height 200 width 450, 400
Animate .classimg change img src to url(images/example_with_green.png), 700
感谢您的付出 - 祝您在 12 月 1 日顺利!
【问题讨论】:
标签: javascript jquery animation png image