jQuery BreakingNews 間歇滾動

來源:互聯網
上載者:User

標籤:

BreakingNews 是一款基於jQuery的間歇滾動外掛程式。它可以設定標題、標題顏色、標題背景顏色、連結顏色、字型大小、邊框、寬度、自動滾動、間歇時間等等,同時它還好提供兩種過度方式——淡入淡出(fade)和向上滑動(slide)。

線上執行個體

執行個體示範

使用方法
<div class="BreakingNewsController easing" id="breakingnews1">     <div class="bn-title"></div>     <ul>         <li><a href="#">強大實用的jQuery投影片外掛程式Owl Carousel</a></li>         <li><a href="#">slick製作17173 ChainJoy投影片</a></li> .......     </ul>     <div class="bn-arrows"><span class="bn-arrows-left"></span><span class="bn-arrows-right"></span></div>     </div>$(‘#breakingnews1‘).BreakingNews({     title: ‘公告‘ });

  

參數詳解
參數 描述 預設值
background 背景顏色 #FFF
title 標題文本 NEWS
titlecolor 標題字型顏色 #FFF
titlebgcolor 標題背景顏色 #5aa628
linkcolor 連結顏色 #333
linkhovercolor 連結 hover 顏色值 #5aa628
fonttextsize 字型大小,單位預設為 px,如果要使用其他單位,請用字串,如 ’16pt’ 16
isbold 粗體 false
border 邊框,例如 ‘1px solid #099′ none
width 寬度 100%
autoplay 自動播放 true
timer 滾動間隔,以毫秒為單位 3000
effect 動畫過度方式,可選 fafde(淡入淡出)或 slide(向上滑動) fade
下載

 

jQuery BreakingNews 間歇滾動

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.