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轻松实现无缝轮播效果
Mar 22 jQuery
JS与jQuery实现子窗口获取父窗口元素值的方法
Apr 17 jQuery
原生js jquery ajax请求以及jsonp的调用方法
Aug 04 jQuery
简单实现jQuery轮播效果
Aug 18 jQuery
jQuery实现checkbox即点即改批量删除及中间遇到的坑
Nov 11 jQuery
jQuery UI实现动画效果代码分享
Aug 19 jQuery
jQuery实现的简单手风琴效果示例
Aug 29 jQuery
jquery分页插件pagination使用教程
Oct 23 jQuery
JS/jQuery实现简单的开关灯效果【案例】
Feb 19 jQuery
基于 jQuery 实现键盘事件监听控件
Apr 04 jQuery
JavaScript或jQuery 获取option value值方法解析
May 12 jQuery
Jquery cookie插件实现原理代码解析
Aug 04 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
实用函数10
2007/11/08 PHP
php的curl实现get和post的代码
2008/08/23 PHP
php数组函数序列之array_unshift() 在数组开头插入一个或多个元素
2011/11/07 PHP
PHP实现下载功能的代码
2012/09/29 PHP
PHP下使用CURL方式POST数据至API接口的代码
2013/02/14 PHP
限制ckeditor上传图片文件大小的方法
2013/11/15 PHP
windows下PHP_intl.dll正确配置方法(apache2.2+php5.3.5)
2014/01/14 PHP
如何使用GDB调试PHP程序
2015/12/08 PHP
Extjs实现进度条的两种便捷方式
2013/09/26 Javascript
JS对img标签进行优化使用onerror显示默认图像
2014/04/24 Javascript
JavaScript中Number.MIN_VALUE属性的使用示例
2015/06/04 Javascript
jQuery实现最简单实用的分秒倒计时
2017/02/05 Javascript
Bootstrap中data-target 到底是什么
2017/02/14 Javascript
js中获取键盘按下键值event.keyCode、event.charCode和event.which的兼容性详解
2017/03/15 Javascript
JavaScript中in和hasOwnProperty区别详解
2017/08/04 Javascript
Vue绑定内联样式问题
2018/10/17 Javascript
JavaScript实现抖音罗盘时钟
2019/10/11 Javascript
详解vue中使用axios对同一个接口连续请求导致返回数据混乱的问题
2019/11/06 Javascript
javascript设计模式 ? 抽象工厂模式原理与应用实例分析
2020/04/09 Javascript
只有 20 行的 JavaScript 模板引擎实例详解
2020/05/11 Javascript
JavaScript setTimeout()基本用法有哪些
2020/11/04 Javascript
用python代码做configure文件
2014/07/20 Python
python删除过期log文件操作实例解析
2018/01/31 Python
python web框架 django wsgi原理解析
2019/08/20 Python
利用Python校准本地时间的方法教程
2019/10/31 Python
Python run()函数和start()函数的比较和差别介绍
2020/05/03 Python
Python logging模块handlers用法详解
2020/08/14 Python
pytorch学习教程之自定义数据集
2020/11/10 Python
html5+css3之制作header实例与更新
2020/12/21 HTML / CSS
Banggood官网:面向全球客户的综合商城
2017/04/19 全球购物
莫斯科绝对前卫最秘密的商店:SVMoscow
2017/10/23 全球购物
夏威夷咖啡公司:Hawaii Coffee Company
2019/09/19 全球购物
青年志愿者活动总结
2014/04/26 职场文书
竞选大学学委演讲稿
2014/09/13 职场文书
z-index不起作用
2021/03/31 HTML / CSS
总结Java对象被序列化的两种方法
2021/06/30 Java/Android