B
B
Bartf2020-06-23 19:51:51
Slick
Bartf, 2020-06-23 19:51:51

How to synchronize the slider?

I have three sliders

spoiler

<spoiler title=""><section class="slider slider1">
    <div>slide1</div>
    <div>slide2</div>
    <div>slide3</div>
    <div>slide4</div>
    <div>slide5</div>
    <div>slide6</div>
</section>

<section class="slider slider2">
    <div>slide1</div>
    <div>slide2</div>
    <div>slide3</div>
    <div>slide4</div>
    <div>slide5</div>
    <div>slide6</div>
</section>

<section class="slider slider3">
    <div>slide1</div>
    <div>slide2</div>
    <div>slide3</div>
    <div>slide4</div>
    <div>slide5</div>
    <div>slide6</div>
</section>

and interconnected
spoiler
asNavFor: $('.slider, .slider2, .slider3')

And all 3 photos show the same thing. How to make it show 1 slide on the first, 2 on the second and 3 on the third

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question