开发者

drag and drop not working on iPAD

开发者 https://www.devze.com 2023-01-06 06:29 出处:网络
I would like to use sortable HTML tables driven by a Javascript API (e.g., BBC Glow) with the iPAD - however, I cannot drag an otherwise draggable ite开发者_Go百科m using the iPAD as the entire page s

I would like to use sortable HTML tables driven by a Javascript API (e.g., BBC Glow) with the iPAD - however, I cannot drag an otherwise draggable ite开发者_Go百科m using the iPAD as the entire page scrolls instead of the element I would like to drag.

Is there a way around this?


was just about to ask this same question... but in a different way. no, iPad does not support the idea of "double clicking" or "drag/drop"... so my question was going to be "what are best-practices for modifying an existing UI so that it works for iPad/iPhone?"

ran across this project while researching: http://www.gotproject.com/blog/post2.html

I would start by looking over how this guy's code works, and try something like that...


Firstly, use jquery UI http://jqueryui.com/demos/ for drag and drop functionality

and then add this script https://github.com/furf/jquery-ui-touch-punch for playing it in Ipad or Iphone.

Hope it helps.

0

精彩评论

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

关注公众号