Answer the question
In order to leave comments, you need to log in
How to make a preview in slick slider?
It is not possible to make a slider with navigation in the form of a preview for these slides. I use Slick.
Here is the HTML:
<div class="slider-for">
<div><img src="img/photo-example.png" alt=""></div>
<div><img src="img/photo-example.png" alt=""></div>
<div><img src="img/photo-example.png" alt=""></div>
</div>
<div class="slider-nav">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
$('.slider-for').slick({
slidesToShow: 1,
slidesToScroll: 1,
fade: true,
asNavFor: '.slider-nav'
});
$('.slider-nav').slick({
slidesToShow: 3,
slidesToScroll: 1,
asNavFor: '.slider-for'
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question