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