L
L
lshaid2018-10-25 16:37:16
css
lshaid, 2018-10-25 16:37:16

How to make such arrows with numbers in the slider?

5bd1c70670da8875634565.png
Help pzhl how to make arrows with navigation and numbers. Tell me where to dig, maybe there are some examples. I am using OWL Carousel. I would be very grateful for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Proskurin, 2018-10-25
@Vlad_IT

The owl carousel has events. For example changed.owl.carousel
Example

owl.on('changed.owl.carousel', function (e) {
    console.log("current: ", e.item.index) // текущий слайд
    console.log("total: ",e.item.count)   // общее кол-во слайдов
})

I
Islam Ibakaev, 2018-10-25
@devellopah

play around with the methods and events of the slick slider, there's a lot of interesting stuff there.
I solved something like this here
UPDATE: sorry, I didn't notice that we were talking about the owl carousel, but, in any case, you can do this on slick too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question