2012-06-13 44 views

回答

1

你可以選擇那個滑塊,wrap: true ...這將會克隆第一個元素和最後一個元素的克隆,當你到達最後它會給你無限滾動的印象。

jQuery('.your-element').movingBoxes({ 

    startPanel: 1, 
    reducedSize: 0.9, 
    fixedHeight: false, 
    speed: 250, 
    hashTags: false, 
    //HEY HEYYY 
    wrap: true, 
    //HEY HEYYY 
    buildNav: true, 
    navFormatter: function(index, panel) { 
     return "●" 
    }, 
    easing: 'easeOutQuad', 
    currentPanel: 'current', 
    tooltipClass: 'tooltip', 
    preinit: function(e, mb, tar) {}, 
    initialized: function(e, slider, tar) { }, 
    initChange: function(e, slider, tar) { }, 
    beforeAnimation: function(e, slider, tar) {}, 
    completed: function(e, slider, tar) { } 
    });