这里跟大家分享一款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".

 

大家可以点下面的链接下载实例代码。

作者: Alexis 发表于 2011-01-22 21:44 原文链接

推荐.NET配套的通用数据层ORM框架:CYQ.Data 通用数据层框架