您的位置:首页 > Web前端 > JQuery

jQuery文本动画效果

2011-01-22 21:44 387 查看
这里跟大家分享一款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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息