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 相关文章推荐
jQuery中map函数的两种方式
Apr 07 jQuery
jQuery模拟实现天猫购物车动画效果实例代码
May 25 jQuery
jQuery为某个div加入行样式
Jun 09 jQuery
详谈表单格式化插件jquery.serializeJSON
Jun 23 jQuery
简单实现jQuery手风琴效果
Aug 18 jQuery
jQuery使用zTree插件实现可拖拽的树示例
Sep 23 jQuery
jQuery响应滚动条事件功能示例
Oct 14 jQuery
jQuery第一次运行页面默认触发点击事件的实例
Jan 10 jQuery
jQuery实现鼠标滑过商品小图片上显示对应大图片功能【测试可用】
Apr 27 jQuery
JQuery获取可视区尺寸和文档尺寸及制作悬浮菜单示例
May 14 jQuery
JS实现点击生成UUID的方法完整实例【基于jQuery】
Jun 12 jQuery
详解jQuery中的prop()使用方法
Jan 05 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
77A一级收信机修理记
2021/03/02 无线电
php遍历数组的4种方法总结
2014/07/05 PHP
PHP面向对象程序设计之命名空间与自动加载类详解
2016/12/02 PHP
TP3.2批量上传文件或图片 同名冲突问题的解决方法
2017/08/01 PHP
ThinkPHP3.1.2 使用cli命令行模式运行的方法
2020/04/14 PHP
5秒后跳转效果(setInterval/SetTimeOut)
2013/05/03 Javascript
无缝滚动js代码通俗易懂(自写)
2013/06/19 Javascript
jquery中的事件处理详细介绍
2013/06/24 Javascript
JS实现日期加减的方法
2013/11/29 Javascript
js获取UserControl内容为拼html时提供方便
2014/11/02 Javascript
js选项卡的实现方法
2015/02/09 Javascript
延时加载JavaScript代码提高速度
2015/12/27 Javascript
javascript实现checkbox复选框实例代码
2016/01/10 Javascript
jquery ajax分页插件的简单实现
2016/01/27 Javascript
JS两种类型的表单提交方法实例分析
2016/11/28 Javascript
jQuery制作图片旋转效果
2017/02/02 Javascript
three.js实现3D模型展示的示例代码
2017/12/31 Javascript
vue项目中公用footer组件底部位置的适配问题
2018/05/10 Javascript
JQuery特殊效果和链式调用操作示例
2019/05/13 jQuery
解决Echarts2竖直datazoom滑动后显示数据不全的问题
2020/07/20 Javascript
vue 解决uglifyjs-webpack-plugin打包出现报错的问题
2020/08/04 Javascript
python实现根据文件格式分类
2019/10/31 Python
python next()和iter()函数原理解析
2020/02/07 Python
Python如何在DataFrame增加数值
2020/02/14 Python
python导入库的具体方法
2020/06/18 Python
解决python3.x安装numpy成功但import出错的问题
2020/11/17 Python
HTML5 Canvas阴影使用方法实例演示
2013/08/02 HTML / CSS
canvas绘制树形结构可视图形的实现
2020/04/03 HTML / CSS
欧洲顶级的童装奢侈品购物网站:Bambini Fashion(面向全球)
2018/04/24 全球购物
卫生安全检查制度
2014/02/04 职场文书
商务日语专业毕业生自荐信
2014/03/27 职场文书
求职信怎么写
2014/05/23 职场文书
2014年材料员工作总结
2014/11/19 职场文书
2019年中,最受大众欢迎的6本新书
2019/08/07 职场文书
Python干货实战之八音符酱小游戏全过程详解
2021/10/24 Python
三星 3nm 芯片将于第二季度开始量产
2022/04/29 数码科技