国产suv精二区69,精品国模一区二区三区,精品一区二区ww,处破痛哭a√18成年片免费,久久久久久久久毛片精品

云南網站建設創新企業 昆明多彩網絡公司

jcarousellite中文文檔

來源:昆明網絡公司 日期:2010-05-28 閱讀: 發表評論

jcarousellite是一款jquery插件,可以控制文檔元素滾動,豐富的參數設置可以控制滾動的更多細節,是一款不可多得的滾動插件。


原創出處://vipwww.net
目前版本:1.0.1
------------------
下載地址:

使用方法:

頁頭調用:
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jcarousellite_1.0.1.min.js"></script>
$(document).ready(function(){
    $(".類名").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev"
    });
});

html:
<div class="類名">
  <ul>
    <li></li>
  </ul>
</div>

參數說明:

btnPrev     string 上一個按鈕的class名, 比如  btnPrev: ".prev&quot;

btnNext     string 下一個按(an)鈕的class名, 比如  btnPrev: ".prev"

btnGo       array  自定義滾(gun)動(dong)位置(zhi),類似幻(huan)燈片效果(guo)置(zhi),有選項卡,按(an)照數(shu)組(zu)順(shun)序,依(yi)次為(wei)按(an)鈕(niu)(niu)(niu)1按(an)鈕(niu)(niu)(niu)2按(an)鈕(niu)(niu)(niu)N,如以下,class名為(wei)1的按(an)鈕(niu)(niu)(niu)是第一(yi)個按(an)鈕(niu)(niu)(niu):[&quot;.1", ".2"]

mouseWheel  bool   鼠標滑是(shi)否(fou)可以(yi)輪控(kong)制上下滾動,可選:false,true,默認false

auto        int    指定多少秒內(nei)容定期自動(dong)滾(gun)(gun)動(dong)。默認(ren)為空(null),是不滾(gun)(gun)動(dong),如果設定的,單位為毫秒,如1秒為1000

speed       int    滑動的速度,可以嘗(chang)試800 1000 1500,設置成0將刪除(chu)效果

easing      string 緩沖效果名稱,如:easing: "bounceout",需要jquery中的(de)easing pluin(緩沖插件實現),只適(shi)用于(yu)jq1.2

vertical  &nbsp; bool   是否垂直滾動,可選:false,true,默認(ren)false

circular    bool   是否循(xun)環滾(gun)動(dong),默認為true,如果(guo)為false,滾(gun)動(dong)到最后一個將停止(zhi)滾(gun)動(dong)

visible     int    可見數量,可以為小數,如2.5為2.5個li

start       int    開(kai)始(shi)的地方(fang),默認是(shi)0

scroll  &nbsp;   int    每次滾動的(de)li數量(liang)

beforeStart func   滾(gun)動開始時回(hui)調的函數,可以(yi)傳入對象(xiang)參數 beforeStart: function(a) { alert("開始的對象(xiang)是:" + a)}

afterEnd    func&nbsp;  滾動(dong)結束時回調的(de)函數,使用方(fang)法同上

發表評論評論列表(有 條評論)