article:
Creative website design example - Hydraulic Fracturing
article:
Creative website design example - Anna Safroncik

Plugin: jQuery Touchwipe

Advertisement

Development of a jQuery plugin for intercepting gestures on touch screens like the iPhone and the iPad.

Plugin: jQuery Touchwipe

The small 1 KB library allows you to obtain the wipe event on an iPhone, iPad or iPod Touch which can be used for example to scroll through an image gallery (see demo below). Should also work with Android touchscreens.

Usage

$("#imagegallery").touchwipe({
    wipeLeft: function() { alert("left"); },
    wipeRight: function() { alert("right"); }
});


other

$("#imagegallery").touchwipe({
     wipeLeft: function() { alert("left"); },
     wipeRight: function() { alert("right"); },
     wipeUp: function() { alert("up"); },
     wipeDown: function() { alert("down"); },
     min_move_x: 20,
     min_move_y: 20,
     preventDefaultEvents: true
});



website
download - 1
download - 2

Advertisement
Tags: plugin, jquery, touchwipe, iphone, ipad, touch, javascript, js

Leave a Comment

No Comment

© Creative3x Ltd.