问题
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.
回答1:
Well, it is not in the documentation, but I fixed it by add the accessibility to false. e.g:
$('#sliders').slick({
accessibility: false
});
来源:https://stackoverflow.com/questions/30013101/is-there-a-way-to-disable-slick-slider-from-autoscrolling-when-clicked-on-naviga