Never mind, I found an easy way of doing this. Just in case anyone else in the future wants to do this, take clientX and clientY from the event object. I made an assumption that there might be a different way of doing it on the iPhone. Apparently not (or if there is another way, I'd like to know about it). Thanks, Gary
On Feb 22, 2:02 am, gman <[EMAIL PROTECTED]> wrote: > Is there an easy way to get the tap coordinates (x,y) in javascript? > Basically, I want to find out the location of a control (an image > button for example) when the user taps it. > > Thanks, > Gary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
