1
A
回答
3
你也可以检查出JQuery UI,因为这可以让你过动画的颜色或阅读this article关于插件难忘的用户体验。
2
是什么样的动画真正的动画力量你在找什么?你可以slideDown(),slideUp()或使用animate()和定义自己的
0
可以在jQuery的执行多个动画真的很容易:
/*you can hide your item with the css property first*/
<style>
#id_of_what_want_to_animate{display:none;height:1px;}
</style>
然后用jQuery透露它
//target the item that triggers the animation
$('#clickthis').click(function() {
//when clicked animate whatever you want, the 5000 is the duration of the animation in
//milliseconds inside the curly braces you can animate css properties
$('#id_of_what_want_to_animate').animate({opacity: 1,height: '200px'},5000,function() {
//run something else when your animation complete.
});
});
你可以参考jQuery的详细的文档:
相关问题
- 1. 淡入淡出相关的div动画
- 2. DIV淡入动画
- 3. 淡出动画后删除div - javascript
- 4. wpf动画淡入淡出和淡出
- 5. 淡入淡出淡入淡出下一个div和动画中的子元素
- 6. 动画UILabel淡入/淡出
- 7. 淡入淡出动画(UIViewAnimation)
- 8. 淡入淡出动画
- 9. jQuery滚动到div上同时淡入淡出和动画
- 10. 淡出DIV,并在下一个DIV与jQuery淡入淡出
- 11. EmberJS为DIV添加动画淡出和淡入操作事件
- 12. 在滚动div逐渐淡出淡出
- 13. 淡入淡出隐藏的div与jquery
- 14. 悬停淡入淡出与多个div
- 15. Android - 启动画面的淡出动画
- 16. 淡入,淡出动画到uilabel
- 17. jQuery调用CSS3淡入淡出动画?
- 18. @keyframes动画文字淡入淡出
- 19. 优化淡入淡出框动画
- 20. UIImageView在动画之间淡入淡出
- 21. jQuery淡入淡出,动画和切换?
- 22. Jquery淡入淡出动画问题
- 23. jquery动画和淡入/淡出问题
- 24. 禁用淡入淡出动画
- 25. CSS交叉淡入淡出动画
- 26. TextView动画 - 淡入,等待,淡出
- 27. 淡入淡出文字动画
- 28. 关于滚动淡入淡出div
- 29. 动画滚动div与溢出滚动
- 30. 同时动画和淡出
对你来说,什么是“真正的动画”? – balexandre 2009-05-06 11:58:24