kswedberg / jquery-carousel-lite

A jQuery carousel plugin based on jCarouselLite by Ganeshji Marwaha
MIT License
177 stars 59 forks source link

Continuous scroll would be great. #28

Closed mrdale closed 10 years ago

mrdale commented 11 years ago

I've tried to jury-rig a continuous slow scroll with pause on hover.

travco commented 10 years ago

Hey @mrdale ,

This is probably too late to help you, but there are actually long-standing options for this in the plugin, here's some options that should help you.

circular:true,
easing:'linear',
auto:true,
timeout:0,
speed:3000,
pause:true

The only stipulation you might have with it is that if you mouseover, it will only pause after it has reached the next slide, but that it's a side effect of how the plugin makes "circular" scrolling in a two dimensional space without infinitely long strips of slides.

kswedberg commented 10 years ago

Thanks, @travco. I'm gonna close this issue. @mrdale, let me know if this doesn't do it for you.

mrdale commented 10 years ago

Thanks big guys... this works as described, I'm noticing a bit of a choppy transition though...

On 7/29/14, 9:52 AM, Travis Palmer wrote:

Hey @mrdale https://github.com/mrdale ,

This is probably too late to help you, but there are actually long-standing options for this in the plugin, here's some options that should help you.

circular:true, easing:'linear', auto:true, timeout:0, speed:3000, pause:true

The only stipulation you might have with it is that if you mouseover, it will only pause after it has reached the next slide, but that it's a side effect of how the plugin makes "circular" scrolling in a two dimensional space without infinitely long strips of slides.

— Reply to this email directly or view it on GitHub https://github.com/kswedberg/jquery-carousel-lite/issues/28#issuecomment-50504536.

kswedberg commented 10 years ago

@mrdale : I just added a feature that will use velocity.js (http://VelocityJS.org) instead of jQuery's standard animation if you include it before you include the jCarouselLite script. I think that will make the animation much less choppy. You can see a demo at http://plugins.learningjquery.com/jcarousellite/demo/velocity.html

mrdale commented 10 years ago

Well that was quick ;) thanks I'll try it out.

On 7/29/14, 10:52 AM, Karl Swedberg wrote:

@mrdale https://github.com/mrdale : I just added a feature that will use velocity.js (http://VelocityJS.org) instead of jQuery's standard animation if you include it before you include the jCarouselLite script. I think that will make the animation much less choppy. You can see a demo at http://plugins.learningjquery.com/jcarousellite/demo/velocity.html

— Reply to this email directly or view it on GitHub https://github.com/kswedberg/jquery-carousel-lite/issues/28#issuecomment-50512803.