I’m trying to make an image rotator that works on mobile devices using swipe for navigation. I’m also trying to make the same rotator to work on PC browsers but to be able to use the mouse drag to simulate swipe.
Any good ideeas?
I’m trying to make an image rotator that works on mobile devices using swipe
Share
You’ll want to handle
onmousedown,onmousemove, andonmouseupevents, keeping track of the mouse position and manipulating your image rotator accordingly.