jQuery Touchwipe Plugin (iPhone, iPad, iPod Touch Gesten / Gestures, Wischeffekt / Wipe Effect)

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.

Die 1 KB kleine Bibliothek ermöglicht das Abfangen des Wischevents auf einem iPhone, iPad oder iPod Touch um beispielsweise durch eine Bildergalerie zu scrollen (siehe Demo unten). Sollte auch mit Android Touchscreens funktionieren.

Demo (use your iPhone, iPad or iPod Touch)

Orange Blumen Ein fließender Wasserfall, umrahmt von Blumen. Ahornblätter im Herbst.

 

Usage / Benutzung

$("#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
});

Download


jQuery Plugin Website

http://plugins.jquery.com/project/Touchwipe-iPhone-iPad-wipe-gesture