0 Replies - 4015 Views - Last Post: 26 October 2012 - 04:19 PM

#1 nanonerd   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-October 12

Mobile: grabbing and dragging

Posted 26 October 2012 - 04:19 PM

I have a webpage with a crop box to edit an image. On a normal webpage, you can grab a corner or edge of the crop box with the mouse cursor and drag it around. However, on mobile devices (e.g., Iphone, Ipad), I am unable to grab the crop box as the screen only accepts taps (akin to mouse click) and the touch and slide resizes the webpage instead of dragging the crop box.

Is there a way to code this programmatically so that the crop box (border or corner) can be grabbed with a fingertip and dragged around the screen?

This must be possible because I saw something about the jQuery slider using HTML5 (type=range) to allow a touch and drag motion. Does anyone know the base code to allow this and how I could implement?

Thanks ...

- completely new to mobile programming ;-)

Is This A Good Question/Topic? 0
  • +

Page 1 of 1