A set of jQuery plugins for iOS, Android, Internet Explorer 10, Chrome 22 and desktop browsers for unifying mouse/touch events.
JavaScript
Switch branches/tags
Nothing to show
Latest commit 7ee1f50 Oct 11, 2012 @a-fung Version 0.0.6
Permalink
Failed to load latest commit information.
.gitattributes First commit Sep 12, 2012
.gitignore First commit Sep 12, 2012
LICENSE Bug fix & rename html files Sep 15, 2012
gesture.html
gesture2.html
jquery.gesture.js Version 0.0.6 Oct 11, 2012
jquery.gesture2.js Version 0.0.6 Oct 11, 2012
jquery.swipe.js
jquery.touch.js Version 0.0.6 Oct 11, 2012
readme.md Update readme Sep 15, 2012
swipe.html Enable scroll for touch in IE10 but keep zoom disabled Sep 17, 2012
touch.html Enable scroll for touch in IE10 but keep zoom disabled Sep 17, 2012

readme.md

jQueryTouch

This is a set of jQuery plugins that enables web developers to easily add touch to their web sites. This library supports all modern browsers. It unifies mouse and touch events into a single event type.

Quick start

Simply download and add jquery.touch.js to your website. Make a call to $("#touch-target").touchInit(). And then "touch_start", "touch_move" and "touch_end" events will start being triggered from the element.

You can use $("#touch-target").on("touch_start", handler) to handle unified touch events.

Browser Support

  • Internet Explorer 8-9*
  • Internet Explorer 10
  • Firefox 4+*
  • Google Chrome*
  • Google Chrome Beta (Version 22)
  • Safari 3.1+*
  • Opera 12*
  • Safari on iOS 3.2+
  • Chrome for Android
  • Firefox for Android
  • Opera Mobile

Browsers with * means they do not support touch and jQueryTouch can still be used to handle mouse click

Documentation

Please go to http://a-fung.github.com/jQueryTouch/ for detailed documentation of using jQueryTouch