I’ve setup slick carousel to continuously scroll, however I need to to scroll in the oposite direction. Adding the RTL option didn’t seem to work.
Fiddle here (currently left to right)
JavaScript
x
14
14
1
$(function(){
2
$('.slider').slick({
3
4
speed: 10000,
5
autoplay: true,
6
autoplaySpeed: 100,
7
cssEase: 'linear',
8
slidesToShow: 1,
9
slidesToScroll: 1,
10
variableWidth: true
11
12
});
13
});
14
Advertisement
Answer
Change the slidesToScroll to a -1 (it will change the slide direction)
JavaScript
1
13
13
1
$(function(){
2
$('.slider').slick({
3
speed: 10000,
4
autoplay: true,
5
autoplaySpeed: 100,
6
cssEase: 'linear',
7
slidesToShow: 1,
8
slidesToScroll: -1,
9
variableWidth: true
10
11
});
12
});
13