jQuery实现的动态文字变化输出效果示例【附演示
网络编程 2021-07-04 18:31www.168986.cn编程入门
这篇文章主要介绍了jQuery实现的动态文字变化输出效果,采用jquery.quoterotator.min.js插件实现了文字动态变换显示的功能,并附带演示与demo源码供读者下载参考,需要的朋友可以参考下
本文实例讲述了jQuery实现的动态文字变化输出效果。分享给大家供大家参考,具体如下:
演示效果图如下:
1、完整实例代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://.w3./TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>jQuery制作动态文字变化输出效果</title> <link rel="stylesheet" href="css/reset.css" rel="external nofollow" > <link rel="stylesheet" href="css/style.css" rel="external nofollow" > <link rel="stylesheet" href="css/animate.css" rel="external nofollow" > <script src="js/jquery.1.9.1.min.js" type="text/javascript"></script> <script src="js/jquery.quoterotator.min.js" type="text/javascript"></script> <script> jQuery(document).ready(function($) { $('#words').quoteRotator(); }); </script> </head> <body> <div id="wrapper"> <div id="words"> <ul class="word-container"> <li data-author="--- Morrie Schwartz" data-easeout="lightSpeedOut"> The most important thing in life is to learn how to give out love, and to let it e in. </li> <li data-author="">所 有 的 瞬 间 都 会 淹 没 于 时 间 的 洪 流,就 像 泪 水 消 逝 在 雨 中。 All those moments will be lost in time, like tears in rain.</li> <li data-author="" data-easeout="fadeOutDown">The animation can be in random or pre-defined in the HTML. Next quote animation will be all in fadeInDown. Optional click to next quote and hover to pause the slideshow.</li> <li data-author="Mark Twain (1835 - 1910)" data-easein="fadeInDown"> Always do right. This will gratify some people and astonish the rest. </li> <li data-author="--- Susan Rice, Stanford University Commencement, 2010" data-easeout="bounceOut"> Progress is the product of human agency. Things get better because we make them better. Things go wrong when we get too fortable, when we fail to take risks or seize opportunities. </li> <li data-author="--- Arlo Guthrie (1947 - )" data-easein="bounceIn"> You can't have a light without a dark to stick it in. </li> <li data-author="--- Mahatma Gandhi (1869 - 1948)" data-easein="lightSpeedIn"> You must not lose faith in humanity. Humanity is an ocean; if a few drops of the ocean are dirty, the ocean does not bee dirty. </li> <li data-author="--- Abraham Lincoln (1809 - 1865), (attributed)"> When I do good, I feel good; when I do bad, I feel bad, and that is my religion. </li> <li data-author="--- John Wanamaker (1838 - 1922), (attributed)"> Half the money I spend on advertising is wasted; the trouble is I don't know which half. </li> </ul> <div class="quote"> <blockquote> <p class="quote-content"></p> </blockquote> <cite class="quote-author"></cite> </div> </div> </div> </body> </html>
2、在线演示地址:
。
附:完整实例代码点击此处。
PS:这里再为大家推荐几款相关的特效工具供大家参考使用:
在线特效文字/彩色文字生成工具:
在线彩虹文字/颜色渐变文字生成工具:
在线发光字生成工具:
仿古书排版文字竖排转换工具:
更多关于jQuery相关内容感兴趣的读者可查看本站专题:《》、《》、《》、《》、《》及《》
希望本文所述对大家jQuery程序设计有所帮助。
编程语言
- 机械手焊接机器人编程 机械手焊接设备编程
- vb数据库编程实例,vb做数据库
- tiobe世界编程语言排行榜,全球编程语言排行
- 成都java编程培训 成都it编程培训中心
- 编程基础培训,编程基础知识培训
- flash游戏编程基础教程,flash游戏开发教程
- 不会英语能学编程吗 不会英语可以学程序员吗
- 爱心代码编程C语言 爱心代码编程c语言公式
- c语言编程学习入门 c语言编程快速入门
- 西门子plc编程培训 西门子plc编程培训班
- 哪里可以学编程 台州哪里可以学编程
- 少儿编程哪个好 少儿编程哪个品牌好
- 编程是什么意思,图形编程是什么意思
- c语言编程软件下载,c语言编程软件在哪下载
- java编程软件下载,java编程下载手机版
- ug编程培训学校,ug编程培训教程