Don E Posted August 31, 2012 Share Posted August 31, 2012 Hey everyone, Maybe this should be asked in the General forum but since my question basically deals with JavaScript, I thought I'd ask here. I made a little drag and drop app with JavaScript.. a friend of mine said it did not work on their iPad and another said it didn't work on their nook.. So are mouse related events completely incapable on such devices? I would assume yes since people are not using a mouse to use their device but then what can we do to make our code compatible with these kind of devices? It would be interesting to find out there will be elements with attributes like ontouch="", ontouchdown="", etc. Thanks. Link to comment Share on other sites More sharing options...
birbal Posted August 31, 2012 Share Posted August 31, 2012 https://developer.mozilla.org/en-US/docs/DOM/DOM_event_reference check this and search for available 'touch events' 1 Link to comment Share on other sites More sharing options...
justsomeguy Posted August 31, 2012 Share Posted August 31, 2012 The drag and drop model obviously works different on touch screens, since dragging on a touch screen typically scrolls. Double-clicking is another problem, since that normally zooms on a touch screen. 1 Link to comment Share on other sites More sharing options...
Don E Posted August 31, 2012 Author Share Posted August 31, 2012 Thanks birbal and JSG for your input! Link to comment Share on other sites More sharing options...
Don E Posted September 1, 2012 Author Share Posted September 1, 2012 Anyone know of any good resource, tutorials that demonstrates how to set up and handle touch events with JavaScript? Appreciate it. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now