D
D
Dantes5892020-04-28 15:40:02
JavaScript
Dantes589, 2020-04-28 15:40:02

How to change input range with fixed button?

Good afternoon.
Tell me please.
There is an input range and its value, min, max values, there is also a button / div (it doesn't really matter) that is stationary. Only the button is visible, it is necessary that when the button moves, the values ​​​​in the input range change. That is, it is necessary so that you can zoom in / out of the image, I want to read its value from the input range. I can’t think of a logic for the button to stay in place, but depending on the movements, the values ​​​​in the input range changed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-04-28
@loonny

the question is not clear at all

I can’t think of a logic for the button to stay in place, but depending on the movements, the values ​​​​in the input range changed.

so it should move or not in the end?
Maybe it's easier to style the input range?
Styling Cross-Browser Compatible Range Inputs with CSS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question