jQuery实现的动态文字变化输出效果示例【附演示与demo源码下载】


Posted in jQuery onMarch 24, 2017

本文实例讲述了jQuery实现的动态文字变化输出效果。分享给大家供大家参考,具体如下:

演示效果图如下:

jQuery实现的动态文字变化输出效果示例【附演示与demo源码下载】

1、完整实例代码:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/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 come 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 comfortable, 
      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 become 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、在线演示地址:

在线彩虹文字/颜色渐变文字生成工具:
http://tools.3water.com/aideddesign/txt_caihongzi

在线发光字生成工具:
http://tools.3water.com/aideddesign/txt_faguangzi

仿古书排版文字竖排转换工具:
http://tools.3water.com/transcoding/shupai

希望本文所述对大家jQuery程序设计有所帮助。

jQuery 相关文章推荐
js和jquery中获取非行间样式
May 05 jQuery
jQuery+Ajax实现用户名重名实时检测
Jun 01 jQuery
jQuery初级教程之网站品牌列表效果
Aug 02 jQuery
jQuery实现html双向绑定功能示例
Oct 09 jQuery
jQuery与vue实现拖动验证码功能
Jan 30 jQuery
jQuery实现的上传图片本地预览效果简单示例
Mar 29 jQuery
如何用input标签和jquery实现多图片的上传和回显功能
May 16 jQuery
IE8中jQuery.load()加载页面不显示的原因
Nov 15 jQuery
jquery实现动态改变css样式的方法分析
May 27 jQuery
jquery实现吸顶导航效果
Jan 08 jQuery
JQuery事件冒泡和默认行为代码实例
May 13 jQuery
jQuery 实现扁平式小清新导航
Jul 07 jQuery
原生Aajax 和jQuery Ajax 写法个人总结
Mar 24 #jQuery
jQuery实现的背景颜色渐变动画效果示例
Mar 24 #jQuery
jQuery插件FusionCharts实现的MSBar2D图效果示例【附demo源码】
Mar 24 #jQuery
jQuery编写textarea输入字数限制代码
Mar 23 #jQuery
jquery实现全选、全不选以及单选功能
Mar 23 #jQuery
jQuery插件FusionCharts实现的MSBar3D图效果示例【附demo源码】
Mar 23 #jQuery
纯jQuery实现前端分页功能
Mar 23 #jQuery
You might like
phpMyAdmin 链接表的附加功能尚未激活的问题
2010/08/01 PHP
PHP在特殊字符前加斜杠的实现代码
2011/07/17 PHP
PHP版QQ互联OAuth示例代码分享
2015/07/05 PHP
php外部执行命令函数用法小结
2016/10/11 PHP
详解php中的implements 使用
2017/06/13 PHP
php时间戳转换代码详解
2019/08/04 PHP
js获取提交的字符串的字节数
2009/02/09 Javascript
js中将URL中的参数提取出来作为对象的实现代码
2011/08/16 Javascript
jquery easyui combox一些实用的小方法
2013/12/25 Javascript
Javascript学习指南
2014/12/01 Javascript
12种JavaScript常用的MVC框架比较分析
2015/11/16 Javascript
基于jquery实现省市联动效果
2015/11/23 Javascript
JavaScript 不支持 indexof 该如何解决
2016/03/30 Javascript
JS多文件上传的实例代码
2017/01/11 Javascript
vue.js移动端app实战1:初始配置详解
2017/07/24 Javascript
tangram.js库实现js类的方式实例分析
2018/01/06 Javascript
nodejs基于express实现文件上传的方法
2018/03/19 NodeJs
nodejs 日志模块winston的使用方法
2018/05/02 NodeJs
Vue实现双向绑定的原理以及响应式数据的方法
2018/07/02 Javascript
vue2实现搜索结果中的搜索关键字高亮的代码
2018/08/29 Javascript
Python自动化运维和部署项目工具Fabric使用实例
2016/09/18 Python
python 读写txt文件 json文件的实现方法
2016/10/22 Python
Python3.4学习笔记之类型判断,异常处理,终止程序操作小结
2019/03/01 Python
python NumPy ndarray二维数组 按照行列求平均实例
2019/11/26 Python
pytorch 实现将自己的图片数据处理成可以训练的图片类型
2020/01/08 Python
python将图片转base64,实现前端显示
2020/01/09 Python
html5组织内容_动力节点Java学院整理
2017/07/10 HTML / CSS
香港时装购物网站:ZALORA香港
2017/04/23 全球购物
大学毕业生工作的自我评价
2013/10/01 职场文书
缴纳养老保险的证明
2014/01/10 职场文书
家长寄语大全
2014/04/02 职场文书
关于中国梦的演讲稿
2014/04/23 职场文书
优秀德育工作者事迹材料
2014/05/07 职场文书
技术入股合作协议书
2014/10/07 职场文书
离婚起诉书范文2016
2015/11/26 职场文书
2016春季运动会开幕词
2016/03/04 职场文书