I see the events on the log but which ones are useful. For example, I did a test where I touch "div 1", wait 30 seconds and then lift my finger off. About 2 seconds after touching the "div1" panel I get a "div 1 action" popup. Here's the log:
iPhone Event Log 08/17/2007 10:19:57:828 > div1:onmouseover 08/17/2007 10:19:57:832 > div1:onmousedown 08/17/2007 10:19:57:843 > div1:onmouseup 08/17/2007 10:19:57:847 > div1:onclick 08/17/2007 10:20:03:12 > div1:onmouseout Notice that the first four events events all happen at the same time when I have only touched the "div 1" panel. And the onmouseout event is logged incorrectly as far as the actual time (I used a stop watch to make sure I waited 30 seconds). More interesting is doing a test where I touched the "div 1" panel and kept my finger moving inside the panel for about 10 seconds then lifting my finger up: NO EVENTS are logged. Another example, I did a test where I touched "div 1", waited 15 seconds, lifted my finger up and then waited 15 secs before touching "div 2", waited another 15 secs before lifting my finger up. Here's the log: iPhone Event Log 08/17/2007 10:03:12:556 > div1:onmouseover 08/17/2007 10:03:12:562 > div1:onmousedown 08/17/2007 10:03:12:571 > div1:onmouseup 08/17/2007 10:03:12:577 > div1:onclick 08/17/2007 10:03:42:385 > div1:onmouseout 08/17/2007 10:03:42:390 > div2:onmouseover 08/17/2007 10:03:42:396 > div2:onmousedown 08/17/2007 10:03:42:415 > div2:onmouseup 08/17/2007 10:03:42:421 > div2:onclick 08/17/2007 10:03:48:138 > div2:onmouseout Notice that the following events all happen at the same time when I have only touched the "div 1" panel: When I lifted my finger off (I used a stop watch to get the 15 secs), I expected to get a mouse event 15 seconds later but it appears the next event logged is when I touch "div 2". Not sure how much is the iPhone and how much is the test application but it is definitely fun to play with Thanks, Jerry On Aug 17, 2:12 am, rich_wagner <[EMAIL PROTECTED]> wrote: > I have been testing out event support for iPhone Safari and, unless I > am mistaken, the iPhoneWebDev event support list seems to be in error. > First, I was able to trap onkeydown for input fields. Second, I am > able to trap all of the onkey events for textarea for any key, not > just the return key. Finally, here is the specific event sequence I am > getting when working with both textarea and input fields: > > onmouseover > onmousedown > onfocus > onmouseup > onclick > onkeydown > onkeypress > onkeyup > onblur > onmouseout > > - Rich --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
