7

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.

Temani Afif
  • 245,468
  • 26
  • 309
  • 415
Kardo
  • 1,658
  • 4
  • 32
  • 52

2 Answers2

13

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
    });
jsor
  • 311
  • 2
  • 4
1
$('.jcarousel').jcarousel({wrap:"last"}).jcarouselAutoscroll();
Michael Irigoyen
  • 22,513
  • 17
  • 89
  • 131
Cleber
  • 19
  • 1