jQuery實(shí)現(xiàn)的動態(tài)文字變化輸出效果示例【附演示與demo源碼下載】
本文實(shí)例講述了jQuery實(shí)現(xiàn)的動態(tài)文字變化輸出效果。分享給大家供大家參考,具體如下:
演示效果圖如下:

1、完整實(shí)例代碼:
<!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制作動態(tài)文字變化輸出效果</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://demo.jb51.net/js/2017/jquery-quoterotator-txt-cartoon-codes/。
附:完整實(shí)例代碼點(diǎn)擊此處本站下載。
PS:這里再為大家推薦幾款相關(guān)的特效工具供大家參考使用:
在線特效文字/彩色文字生成工具:
http://tools.jb51.net/aideddesign/colortext
在線彩虹文字/顏色漸變文字生成工具:
http://tools.jb51.net/aideddesign/txt_caihongzi
在線發(fā)光字生成工具:
http://tools.jb51.net/aideddesign/txt_faguangzi
仿古書排版文字豎排轉(zhuǎn)換工具:
http://tools.jb51.net/transcoding/shupai
更多關(guān)于jQuery相關(guān)內(nèi)容感興趣的讀者可查看本站專題:《jQuery常用插件及用法總結(jié)》、《jquery中Ajax用法總結(jié)》、《jQuery表格(table)操作技巧匯總》、《jQuery擴(kuò)展技巧總結(jié)》、《jQuery常見經(jīng)典特效匯總》及《jquery選擇器用法總結(jié)》
希望本文所述對大家jQuery程序設(shè)計(jì)有所幫助。
相關(guān)文章
jQuery實(shí)現(xiàn)非常實(shí)用漂亮的select下拉菜單選擇效果
這篇文章主要介紹了jQuery實(shí)現(xiàn)非常實(shí)用漂亮的select下拉菜單選擇效果,通過jQuery模擬select下拉選擇效果,并具有點(diǎn)擊選中下拉項(xiàng)進(jìn)入輸入框的功能,非常美觀實(shí)用,需要的朋友可以參考下2015-11-11
jQuery插件cxSelect多級聯(lián)動下拉菜單實(shí)例解析
這篇文章主要為大家詳細(xì)解析了jQuery插件cxSelect多級聯(lián)動下拉菜單實(shí)例,具有一定的參考價值,感興趣的小伙伴們可以參考一下2016-06-06
jQuery實(shí)現(xiàn)企業(yè)網(wǎng)站橫幅焦點(diǎn)圖切換功能實(shí)例
這篇文章主要介紹了jQuery實(shí)現(xiàn)企業(yè)網(wǎng)站橫幅焦點(diǎn)圖切換功能,實(shí)例分析了jQuery企業(yè)網(wǎng)站焦點(diǎn)圖的詳細(xì)實(shí)現(xiàn)方法,非常簡單實(shí)用,需要的朋友可以參考下2015-04-04
基于jquery實(shí)現(xiàn)的可編輯下拉框?qū)崿F(xiàn)代碼
昨天看到QQ登錄的時候,可以選擇以前登錄過的賬戶,這個東西也可以在網(wǎng)站登錄的時候用到,所以我就想做一個這樣的插件;在網(wǎng)上查了很多,沒有找到合適自己的,所以決定自動制作一個2014-08-08
jQuery 實(shí)現(xiàn)鼠標(biāo)畫框并對框內(nèi)數(shù)據(jù)選中的實(shí)例代碼
本文通過實(shí)例代碼給大家介紹了jQuery 實(shí)現(xiàn)鼠標(biāo)畫框并對框內(nèi)數(shù)據(jù)選中的實(shí)例代碼,非常不錯,具有參考借鑒價值,需要的朋友參考下吧2017-08-08
JavaScript實(shí)現(xiàn)向select下拉框中添加和刪除元素的方法
這篇文章主要介紹了JavaScript實(shí)現(xiàn)向select下拉框中添加和刪除元素的方法,涉及jQuery中append()與remove()方法動態(tài)操作表單元素的相關(guān)技巧,需要的朋友可以參考下2017-03-03
Jquery+JSon 無刷新分頁實(shí)現(xiàn)代碼
基于jquery+json格式文件的無刷新分頁實(shí)現(xiàn)代碼,需要的朋友可以參考下。2010-04-04
jQuery實(shí)現(xiàn)的多滑動門,多選項(xiàng)卡效果代碼
這篇文章主要介紹了jQuery實(shí)現(xiàn)的多滑動門,多選項(xiàng)卡效果代碼,具有tab切換與滑動門的功能,涉及鼠標(biāo)事件的響應(yīng)與頁面元素屬性動態(tài)變換操作相關(guān)實(shí)現(xiàn)技巧,需要的朋友可以參考下2016-03-03

