开发者

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 bu开发者_运维知识库t it would be nice to have some touch events specific to the handheld devices. Do you recommend any jQuery plugins for this? Thanks.


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


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


jqTouch is your starting point.

You can find demos here.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜