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中的deferred对象和extend方法详解
May 08 jQuery
jquery.masonry瀑布流效果
May 25 jQuery
详解如何在 vue 项目里正确地引用 jquery 和 jquery-ui的插件
Jun 01 jQuery
vue+jquery+lodash实现滑动时顶部悬浮固定效果
Apr 28 jQuery
jQuery中将json数据显示到页面表格的方法
May 27 jQuery
jquery获取select选中值的文本,并赋值给另一个输入框的方法
Aug 21 jQuery
使用jquery-easyui的布局layout写后台管理页面的代码详解
Jun 19 jQuery
jQuery实现判断滚动条滚动到document底部的方法分析
Aug 27 jQuery
9种方法优化jQuery代码详解
Feb 04 jQuery
jquery传参及获取方式(两种方式)
Feb 13 jQuery
jQuery实现日历效果
Sep 11 jQuery
jQuery+ajax实现文件上传功能
Dec 22 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
php生成WAP页面
2006/10/09 PHP
PHP的博客ping服务代码
2012/02/04 PHP
关于URL最大长度限制的相关资料查证
2014/12/23 PHP
joomla组件开发入门教程
2016/05/04 PHP
php基于CodeIgniter实现图片上传、剪切功能
2016/05/14 PHP
PHP实现非阻塞模式的方法分析
2018/07/26 PHP
popdiv
2006/07/14 Javascript
对google个性主页的拖拽效果的js的完整注释[转]
2007/04/10 Javascript
JavaScript的面向对象方法以及差别
2008/03/31 Javascript
Array, Array Constructor, for in loop, typeof, instanceOf
2011/09/13 Javascript
javascript相关事件的几个概念
2015/05/21 Javascript
jquery简单倒计时实现方法
2015/12/18 Javascript
jQuery DataTables插件自定义Ajax分页实例解析
2020/04/28 Javascript
LayerClose弹窗关闭刷新方法
2018/08/17 Javascript
使用Vue实现移动端左滑删除效果附源码
2019/05/16 Javascript
深入学习Vue nextTick的用法及原理
2019/10/08 Javascript
小程序卡片切换效果组件wxCardSwiper的实现
2020/02/13 Javascript
python通过wxPython打开一个音频文件并播放的方法
2015/03/25 Python
Python实现优先级队列结构的方法详解
2016/06/02 Python
Python实现的视频播放器功能完整示例
2018/02/01 Python
python 拼接文件路径的方法
2018/10/23 Python
Python一键安装全部依赖包的方法
2019/08/12 Python
Python如何省略括号方法详解
2020/03/21 Python
详解Python中pyautogui库的最全使用方法
2020/04/01 Python
Python中常见的数制转换有哪些
2020/05/27 Python
利用Python发送邮件或发带附件的邮件
2020/11/12 Python
JSF面试题:如何管量web层中的Bean,用什么标签。如何通过jsp页面与Bean绑定在一起进行处理?
2012/10/05 面试题
写一个方法1000的阶乘
2012/11/21 面试题
高中毕业生自我鉴定范文
2013/09/26 职场文书
家长会演讲稿范文
2014/01/10 职场文书
元旦红领巾广播稿
2014/02/19 职场文书
财产公证书
2014/04/10 职场文书
入党积极分子评语
2014/05/04 职场文书
技能比武方案
2014/05/21 职场文书
孔庙导游词
2015/02/04 职场文书
商业计划书格式、范文
2019/03/21 职场文书