Use the onscroll event. It is fired whenever the screen is touched,  
whether the page is scrolled or not. You can also grab double-taps  
this way.

Thanks!

Jon Brisibn
http://jbrisbin.com

On Jun 5, 2008, at 4:59 AM, Luis Oliveira wrote:

>
> Hi,
>
> I want to change the background color of a div/span as the user clicks
> over it. Looking at the events of table 7.2 of "SafariWeb Content
> Guide for iPhone", I think that with event mousedown I could do that.
> However this event is only fired after the user end pressing on the
> span/div. Anyone know a work around for this problem ?
>
> The effect that I am trying to implement is available in many iphone
> applications like iTunes (see the "Load More Results" link for
> instance).
>
> Thanks.
>
> Luís Oliveira
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to