Kardo
Kardo

Reputation: 1718

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

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.

Upvotes: 6

Views: 12818

Answers (2)

Cleber
Cleber

Reputation: 19

$('.jcarousel').jcarousel({wrap:"last"}).jcarouselAutoscroll();

Upvotes: 1

jsor
jsor

Reputation: 301

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
    });

Upvotes: 12

Related Questions