Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A set of jQuery plugins for iOS, Android, Internet Explorer 10, Chrome 22 and desktop browsers for unifying mouse/touch events.
JavaScript
branch: master

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

Something went wrong with that request. Please try again.