By mswatcher
via sitepoint.com
Submitted: Mar 07 2013 / 08:23
This is part two of two in the series describing how to create a jQuery plugin to detect and respond to swipe gestures. In the first part, we saw how to create a plugin that changes a carousel’s pictures to correspond to the position of the finger on screen. In this part, we will extend that to detect a swipe gesture. This improves the carousel by creating fixed intervals so that a swipe changes the carousel to show the next/previous picture in its entirety.
Tweet
SaveShareSend
Tags: frameworks, javascript, ria
Add your comment