I
I
Intelix2018-10-24 17:57:41
JavaScript
Intelix, 2018-10-24 17:57:41

How to find out what frame is currently shown in slick?

How to find out which slide in slick is currently shown?
I need to change the text (html) and its style (css) on a certain slide (slick).
Those. there are 3 slides.
When the first one is shown, the text "fish" is displayed with its own style. When the second slide is shown, text = "frame" with its own style, and so on.

I apologize in advance if the question is asked incorrectly, I'm still not well versed in this topic.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor, 2018-10-24
@Intelix

There is slickCurrentSlide
Read kenwheeler.github.io/slick

M
Maxim Timofeev, 2018-10-24
@webinar

I apologize in advance if the question is asked incorrectly, I'm still not well versed in this topic.

To understand something, you need to read something. In this case, before doing anything with the slick slider, you should read the documentation for it. There is 1 page, is it difficult or what? Question longer to style:
kenwheeler.github.io/slick/#settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question