D
D
Denis Bukreev2016-09-26 18:52:15
JavaScript
Denis Bukreev, 2016-09-26 18:52:15

How to write a slider script in native JS?

So it goes.
There is a simple slider - a thin line and a circle that should move along this line.
The goal is to keep track of the position of the slider relative to the line.
How to approach the decision?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2016-09-26
@denisbookreev

using range html5
Standard slider https://jsfiddle.net/joomla/zc9h4ftx/2/
With custom styles https://jsfiddle.net/joomla/zc9h4ftx/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question