Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Macuser1628

macrumors member
Original poster
May 2, 2010
42
7
There's a rather impressive set of JavaScript/html5 demos which are really cool when you interact with them on a Mac/PC using a mouse. They are at www.chromeExperiments.com . However they are a big fail when run on an iPad. There doesn't seem to be a way of generating a drag event for these demos (or a mouse hover event for that matter). The only event they react to properly is a finger tap, which is translated into a button down event.

Is this an HTML5 issue? And if so, how on earth is it going to be solved?

It would appear that they suffer from the same assumptions as Flash, with respect to the input device being a mouse.

I was rather looking forward to seeing these demos work on an iPad, but no such luck. :(
 
There's a rather impressive set of JavaScript/html5 demos which are really cool when you interact with them on a Mac/PC using a mouse. They are at www.chromeExperiments.com . However they are a big fail when run on an iPad. There doesn't seem to be a way of generating a drag event for these demos (or a mouse hover event for that matter). The only event they react to properly is a finger tap, which is translated into a button down event.

Is this an HTML5 issue? And if so, how on earth is it going to be solved?

It would appear that they suffer from the same assumptions as Flash, with respect to the input device being a mouse.

I was rather looking forward to seeing these demos work on an iPad, but no such luck. :(

This has to do with the iPad not supporting every type of event on the browser. I tried some similar tests with jQuery because I wanted to create draggable elements on a webpage, but no luck.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.