Jssor部分可见滑块丢失选项 [英] Jssor partial visible slider missing option
问题描述
我正在根据示例修改代码
I'm adapting my code from the example
nearby-image-partial-visible-slider.source.html
nearby-image-partial-visible-slider.source.html
工作正常,只是不满足我的要求之一.
It's working good except only one of my requirements is not met.
我的图像是有序的,因此对于第一张图像,我不希望在其左侧再出现另一张图像(在该示例中,这是最后一张图像),并且用户不应该向左滑动任何图像如果显示的是第一张图片,则更多.与最后一张图片相同,没有任何图片应部分显示在右侧.是否有打开/关闭循环幻灯片放映的选项?如果没有,我该如何实现?
My images are ordered, so for the first image, I don't want there to be another image on the left of it (in the example it's the last image), and user shouldn't be able to swipe left any more if it's showing the first image. And the same for the last image, no image should be partially shown on the right. Is there an option to turn on/off the loop slideshow? If not, how may I achieve that?
推荐答案
请将$Loop
选项设置为0.
参考: http://www.jssor.com/development/reference-options. html
这篇关于Jssor部分可见滑块丢失选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!