Answer the question
In order to leave comments, you need to log in
How to control slick slider with links?
There is a list of links:
<ul>
<li><a href="">One</a>
<li><a href="">Two</a>
<li><a href="">Three</a>
</ul>
...
<li><a class="test" href="">Two</a></li>
$('.test').click(function(e) {
$('.js-event-slider').slick('next');
});
Answer the question
In order to leave comments, you need to log in
codepen.io/anon/pen/bwOoqy
For this, there is asNavFor in the slick
Если всегда 3 и не меняются, используй slickGoTo
$('js-event-slider').slick('slickGoTo', 0);
$('js-event-slider').slick('slickGoTo', 1);
$('js-event-slider').slick('slickGoTo', 2);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question