Slick: Autoplay without a pause on items

Created on 3 Nov 2015  路  3Comments  路  Source: kenwheeler/slick

Hi,

At first - good job, slick is fantastic!
I don't know how to manage to use slick defined as:

variableWidth: true
autoplay: true

But without stopping on each item. I'd like to have a smooth carousel. Is that possible now?

Most helpful comment

Try something like this.

$(function(){
    $('.slider').slick({
        variableWidth: true.
        autoplay: true,
        autoplaySpeed: 0,
        speed: 10000,
        cssEase: 'linear',
        slidesToShow: 1,
        slidesToScroll: 1
    });
});

All 3 comments

Try something like this.

$(function(){
    $('.slider').slick({
        variableWidth: true.
        autoplay: true,
        autoplaySpeed: 0,
        speed: 10000,
        cssEase: 'linear',
        slidesToShow: 1,
        slidesToScroll: 1
    });
});

Seems that

cssEase: 'linear' 

did the trick, thanks!

Thanks, but what about pauseOnHover ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NozX18 picture NozX18  路  3Comments

stephane-r picture stephane-r  路  3Comments

ericestes picture ericestes  路  3Comments

eirikrlee picture eirikrlee  路  3Comments

msavov picture msavov  路  3Comments