Answer the question
In order to leave comments, you need to log in
Owlcarousel or slick. How to make slow uniform slide movement without stopping?
Owlcarousel or slick. How to make a slow uniform movement of slides without stopping, a continuous tape?
Or is there some other way to organize this, given that you need the ability to grab the tape with the mouse and move it to the sides? The tape is continuous, and must loop.
Answer the question
In order to leave comments, you need to log in
You can use jQuery UI - draggable. At the lever cap, we set the movement only along the Y axis with a limitation in the extreme positions (initial and final). Draw the lever itself in CSS with a rectangle up to the cap. Change the length of the lever with jQuery.
When releasing the cap (I really like this word), we remember the Y axis and return it to its original position. If Y = final position - start the roulette wheel.
All images can be made with CSS.
Well, try experimenting with the interval and speed, in theory, if these two parameters match, then you get what you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question