Jssor partial visible slider missing option

2019-08-15 06:33发布

问题:

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