S
S
Skilful2212020-07-29 20:29:24
css
Skilful221, 2020-07-29 20:29:24

Change slider pagination?

the essence is as follows, there is such a standard slider from bootstrap
qOerx2j.jpeg
at the bottom there are three dashes for switching slides

I need to make this slider
F6ads9m.png
with such a peculiar input type range
even I don’t understand how to do it at all) tell me)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AndersDir, 2020-07-30
@Skilful221

Track through js the event of changing the value of rage and scroll to the corresponding slide.
The bootstrap slider has methods for this, see here: https://getbootstrap.com/docs/4.0/components/carousel/
And also, if it is supposed to be a decorative element and it just needs to look like this, then you can use these initial strips via css through css, lower it below and correct it so that they fit into a tight one. And select active. Then visually it will be exactly the same and will even work. Only not by dragging, but by clicking.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question