Z
Z
zwezew2018-02-21 18:03:02
JavaScript
zwezew, 2018-02-21 18:03:02

How to switch blocks outside of slick slider in parallel with switching slides?

There is a slider on the page, a block mask with text is superimposed on top of the wrapper so that when the slider scrolls, the mask remains in place. Is it possible to somehow switch the block with text in the mask when changing slides?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreotech, 2018-02-21
@zwezew

Apparently you need to use events. Look in the documentation for the beforeChange or afterChange event.
With the help of them, it will be possible to perform the necessary actions before changing the slide or after.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question