Jssor partial visible slider missing option

家住魔仙堡 提交于 2019-12-11 09:14:57

问题


I'm adapting my code from the example

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?


回答1:


Please set $Loop option to 0.

Reference: http://www.jssor.com/development/reference-options.html



来源:https://stackoverflow.com/questions/30903283/jssor-partial-visible-slider-missing-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!