欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

jQuery News Ticker 基于jQuery的即時(shí)新聞行情展示插件

 更新時(shí)間:2011年11月05日 14:45:33   作者:  
今天分享一個(gè)新聞行情的jQUery插件,可以幫助大家使用比較小的頁(yè)面區(qū)域來(lái)展示最新最重要的信息。
效果圖:


jQuery news ticker是一個(gè)非常方便的jQuery插件,能夠快速讓你生成這樣的一個(gè)新聞行情效果。

它能夠通過(guò)列表,HTML甚至是RSS(只能加載本站的RSS feed)來(lái)生成新聞內(nèi)容,并且支持前后播放和停止。這個(gè)插件支持一系列的自定義選項(xiàng),例如:

播放速度
播放效果
播放方向
顯示時(shí)間
代碼開(kāi)發(fā)簡(jiǎn)單高效。

首先引入jQuery news ticker類庫(kù)及其jQuery類庫(kù):
復(fù)制代碼 代碼如下:

<link href="css/ticker-style.css" rel="stylesheet" type="text/css" />
<script src="jquery.ticker.js" type="text/javascript"></script>

HTML代碼:
復(fù)制代碼 代碼如下:

<div id="ticker-wrapper" class="no-js">
<ul id="js-news" class="js-hidden">
<li class="news-item"><a href="#">This is the 1st latest news item.</a></li>
<li class="news-item"><a href="#">This is the 2nd latest news item.</a></li>
<li class="news-item"><a href="#">This is the 3rd latest news item.</a></li>
<li class="news-item"><a href="#">This is the 4th latest news item.</a></li>
</ul>
</div>

javascript:
復(fù)制代碼 代碼如下:

<script type="text/javascript">
$(function () {
$('#js-news').ticker();
});
</script>


官方網(wǎng)站 http://www.gbin1.com/technology/jquerynews/20111105jquerypluginnewsticker/demo.html
相關(guān)文件下載

相關(guān)文章

最新評(píng)論