jsor / jcarousel

Riding carousels with jQuery.
https://sorgalla.com/jcarousel/
MIT License
1.99k stars 736 forks source link

wrap: 'both' does not work with autoscroll? #655

Closed ianthedev closed 10 years ago

ianthedev commented 10 years ago

I use the following code. The autoscrolling stops at the last slide.

ianthedev commented 10 years ago

I got it. It is because the wrap: 'both' should not be placed in animation.

jsor commented 10 years ago

wrap needs to be a top level option:

.jcarousel({
        vertical  : true,
        wrap      : 'both',
        animation : {
            duration :  1000,
            easing   : 'easeInOutSine'
        }
    })
ianthedev commented 10 years ago

Yes. Thank you.