Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to disable slick slider from autoscrolling when clicked on navigation slider?

There's the slider syncing functionality that I need to use (can be seen here http://kenwheeler.github.io/slick/ when you scroll down a bit), but, as we can see, when you click on the navigation slide, the whole navigation autoslides further, I'd like to disable this functionality so that the main slide changes, but the navigation stays at the same level as it is until I click next or previous arrow.

Is there a setting for that or do I have to change the core to achieve this?

jsfiddle http://jsfiddle.net/9kp36e09/ - so now if you click on navigation, it scrolls, I want to disable that scrolling.

like image 573
Xeen Avatar asked May 03 '15 11:05

Xeen


1 Answers

Well, it is not in the documentation, but I fixed it by add the accessibility to false. e.g:

$('#sliders').slick({
    accessibility: false
});
like image 96
shrekuu Avatar answered Oct 23 '22 13:10

shrekuu