so this is the setup - An iframe inside a page.
the iframe holds a HTML5 canvas object, which responds to click (hold) and drag...
How do I get this working on an iPad?
I've considering creating even开发者_高级运维t handlers (ontouchstart, ontouchmove, ontouchend), but that didn't seem to work...
Any ideas?
If you want to allow touch interaction, that's the way to do it. Read Handling Multi-Touch Events in the Safari Web Content Guide.
There's jQuery plugin that helps you handle drag event in mobile devices. You can find it here.
精彩评论