0
我在這裏修改這個主題 http://www.jssor.com/testcase/full-screen-slider-new-api.source.html 我試圖添加$ DisplayPieces:2,但它似乎打破了:/ 是否可以將其他演示的功能合併到這個功能中? 任何建議將非常感謝:)
我在這裏修改這個主題 http://www.jssor.com/testcase/full-screen-slider-new-api.source.html 我試圖添加$ DisplayPieces:2,但它似乎打破了:/ 是否可以將其他演示的功能合併到這個功能中? 任何建議將非常感謝:)
要顯示幻燈片容器中的多個幻燈片,您需要手動設置$ SlideWidth以適合幻燈片容器。
在上述的演示,幻燈片容器的寬度爲600像素,請設置$ SlideWidth至300然後。
var options = {
$SlideWidth: 300,
$DisplayPieces: 2,
$SlideDuration: 800, //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500
$DragOrientation: 3, //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0)
$AutoPlay: true, //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false
$AutoPlayInterval: 1500 //[Optional] Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000
};
笑!我只是自言自語,然後來到這裏刪除問題。談論接近的時機;)我要離開這個,因爲我希望它會幫助其他人尋找定製jssor。感謝您的回覆如此之快!乾杯! – JDouglas 2014-11-15 00:07:43