K
K
killwayne2019-06-13 17:36:33
JavaScript
killwayne, 2019-06-13 17:36:33

1 mouse scroll/swipe = 1 slider movement?

Hello

There is a page where there is a slider for the entire width and height of the screen. The slider shows 3 slides.
It is necessary to switch slides by 1 step with one scrolling with the mouse wheel, touchpad, swipe

. 3-4 slides are scrolled, but only 1 is needed

Question: how to implement this and are there any ready-made plugins for this task?

Thank you very much in advance!!!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hzzzzl, 2019-06-13
@hzzzzl

when I did something similar, I just allowed to react to the mousewheel once every X milliseconds, like this
https://codepen.io/anon/pen/VJvLvr?editors=1010

V
Vladimir Yurchenkov, 2019-06-13
@EPIDEMIASH

Look at it ?
I can suggest, or look at the code yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question