D
D
deniskins232019-05-14 18:27:03
JavaScript
deniskins23, 2019-05-14 18:27:03

How to link slick slider and click menu slides?

Good day
There is a site, it is fullscreen and without scrolling. In fact, there are just slides, so it was done simply with the help of a slick slider. Each screen is a slide. Everything would be fine, but there is a menu in the header (just links), they should be tied with slides. And I don't understand. how to connect them? So that I click on the link in the header and my slide changes ..
Who can tell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2019-05-14
@deniskins23

.link -> onclick -> $('slider').slick('slickGoTo', indexSlide)
https://github.com/kenwheeler/slick/#methods

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question