jQuery文本动画效果
這里跟大家分享一款jQuery的插件,即使用jQuery將文本有一定的動畫效果。
jquery.texteffects.js
使用方法也很簡單:
引入上述的js文件,然后給你的文本加上一個class,寫如下jquery代碼
這里是插件的些參數的設置方法:
Options
texteffect
The name of the effect to apply. "expand", "collapse", "drop", "undrop", "explode", "unexplode".
speed
Specifies the speed of the animation. "slow", "fast".
delay
Specifies a pause before the animation starts, in milliseconds (1000 is one second).
opacity
Set this to a value less than "1" to make the footer semi-transparent, for example "0.8".
大家可以點下面的鏈接下載實例代碼。?
?
?
?
附件:http://down.51cto.com/data/2358232
? ? 本文轉自xshf12345 51CTO博客,原文鏈接:http://blog.51cto.com/alexis/574766,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的jQuery文本动画效果的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Exchange 2010 数据库副本加
- 下一篇: 学数据结构,仅仅须要主要的编程体验