Question

Is it possible to allow users to drag and drop items in mobile safari? Google images on the iPhone does something similar, but I'm not sure if it is true drag and drop or some other work around. Anyone have any insights?

Was it helpful?

Solution

Yes, it's possible. You have to disable the default of safari moving around. A few examples and links that might help you: http://tlrobinson.net/iphone/lighttable/ http://rossboucher.com/2008/08/19/iphone-touch-events-in-javascript/

OTHER TIPS

In general, yes. Mobile Safari supports most of the standard mouse events for touches (as well as some specific touch-related events). Others, like mouseover, it doesn't support at all. You can get more specific information in the Safari Web Content Guide.

Try kinetic.js. Works great on both iOS and Android. A number of tutorials including a few applications are also available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top