Jssor partial visible slider missing option

2019-08-15 06:16发布

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条回答
Bombasti
2楼-- · 2019-08-15 07:02

Please set $Loop option to 0.

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

查看更多
登录 后发表回答