Answer the question
In order to leave comments, you need to log in
How to add lightbox for slick.js carousel?
There is a slider on the slick.js library, the code is given at the end of the post.
Need to make a lightbox when clicking on the image.
I tried to screw it on the recommendation from the toaster , but it didn’t work out.
<div class="autoplay slick">
<div class="slider-item">
<h3>Объявляем акции</h3>
<img src="/images/">
<div class="news-desc">Обращаем внимание родителей на то, что скоро детский центр Royal Academy проведет веселый и занимате... </div>
</div>
</div>
$('.autoplay').slick({
slidesToShow: 3,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
});
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