I
I
Ibishka2019-08-10 12:11:57
JavaScript
Ibishka, 2019-08-10 12:11:57

How to make a slider tab

I have a slider with 6 slides. And there are 2 buttons on the page. It is necessary for me that, for example, when you click on a certain button, I change slides to other slides. I use Owl Carousel how to write a simple script that implements my idea. Please help. How to make tabs for slides

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2019-08-10
@Lord_Dantes

Connect according to the Owl.Carousel standard so that the usual carousel works at least.
Next, markup
.owl-carousel.nameyourcarousel
.item
.item
.item
.item
.item
.item
.item
.item
.item
.item
.item
.item
And in the script write
.OwlCarousel({items: 6,})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question