How to install (wrap: 'circle') (loop) in the "auto scroll" plugin in the new version of jCarousel (3.0)?

How to install (wrap: 'circle') (loop) in the "auto scroll" plugin in the new version of jCarousel (3.0)?

I want the elements to be too closed, as in the previous version of jCarousel.

http://sorgalla.com/jcarousel/

Any help would be greatly appreciated.

+6
source share
2 answers

The wrap parameter should be set when initializing the carousel, and not for the pagination plugin:

 $('.jcarousel') .jcarousel({ wrap: 'circular' }) .jcarouselAutoscroll({ target: '+=1', interval: 3000 }); 
+11
source
 $('.jcarousel').jcarousel({wrap:"last"}).jcarouselAutoscroll(); 
+1
source

Source: https://habr.com/ru/post/959023/


All Articles