How to set (wrap: 'circular') (loop) in “auto scroll” plugin in the new version of jCarousel (3.0)?

Kardo picture Kardo · Nov 29, 2013 · Viewed 12.7k times · Source

How to set (wrap: 'circular') (loop) in “auto scroll” plugin in the new version of jCarousel (3.0)?

I want the items too loop without stop as in previous version of jCarousel.

http://sorgalla.com/jcarousel/

Any kind help would be highly appreicaited.

Answer

jsor picture jsor · Nov 29, 2013

The wrap option has to be set when initialising the carousel, not for the pagination plugin:

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