Answer the question
In order to leave comments, you need to log in
How to add a forward or backward function to a button?
Hello Toasters.
I'm interested in a question about the Slick plugin.
There is a structure like this:
<footer class="footer-modal">
<a class="back-link">Назад</a>
<a class="next-link">Вперед</a>
</footer>
Answer the question
In order to leave comments, you need to log in
I decided myself, zayuzal:
prevArrow: $('Свой класс иди ид'),
nextArrow: $('Свой класс иди ид'),
$('.slider').slick({
prevArrow: $('.back-link'),
nextArrow: $('next-link')
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question