Simulate swipe with mouse in javascript

gabitzish picture gabitzish · Oct 25, 2011 · Viewed 29k times · Source

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?

Answer

FreePender picture FreePender · Mar 2, 2013

I've looked into most of these... I'd recommend looking into

Hammer.Js

From what little I've seen, it has support for both desktop and mobile swiping and I was impressed with the demos.