Alex
Alex

Reputation: 35881

Add handheld touch events to web app

What's the best way to add touch events to a web app? The page works well enough on the iPad but it would be nice to have some touch events specific to the handheld devices. Do you recommend any jQuery plugins for this? Thanks.

Upvotes: 2

Views: 2972

Answers (4)

JoshNaro
JoshNaro

Reputation: 2097

Checkout jQuery Mobile. It's mostly a GUI framework, but hopefully they'll add stuff like gesture events.

Upvotes: 0

Desmond Liang
Desmond Liang

Reputation: 2310

check this out. It's a jQuery plugin that detects touch events like wiping, zooming, scaling and rotation.

http://desmondliang.com/content/touchme-jquery-plugin-ipad-web-apps

Upvotes: 2

jakeisonline
jakeisonline

Reputation: 1206

I'm afraid there's little in the way of touch support for jQuery, or indeed any JavaScript library. You'll need to work around platforms that rely on touch.

Even such libraries as jQTouch are limited in the sense that it's only for iOS.

Some interesting reading at http://forum.jquery.com/topic/jquery-ui-and-touch-devices

Upvotes: 3

Krunal
Krunal

Reputation: 3551

jqTouch is your starting point.

You can find demos here.

Upvotes: 1

Related Questions