Drag and drop to change image slide using jquery, like in iphone

I am using a supersized jquery plugin for my site. It comes with a button for the next and previous slides. I want to implement a drag and drop function to change. If someone clicks and moves the mouse to the right, it should act like the next slide button.

But how can I do this using jquery? How can I find out when the user presses n drag left / right

http://buildinternet.com/project/supersized/

+5
source share
1 answer

jQuery recognizes mouseUp, mouseDownand mouseMoveas events.

mouseDown, . , Iphone Swipe jQuery .

+6

All Articles