I use both onorientationchange and onresize and it's working fine.

Just double-check the onresize events, because you are going to get  
them as well when the content of the window grows in the Y axis.

--Jorge.


El 28/05/2008, a las 10:06, Chrilith escribió:

>
> No, this seems to be more a limitation (bug?) of Safari
>
> On May 27, 10:35 pm, Sean Gilligan <[EMAIL PROTECTED]> wrote:
>> Using onload and onorientation handlers I can track the orientation
>> state of the page without needing to use setInterval(), except for  
>> (at
>> least) the following case:
>>
>> 1.  Page is loaded in portrait mode
>> 2.  User follows a link to another page
>> 3.  User rotates the iPhone while viewing the other page
>> 4.  User uses the back button in Safari
>>
>> When the page is redrawn, neither the onload or onorientation  
>> handlers
>> will fire.
>>
>> Has anyone solved this problem without using setInterval to poll?
>>
>> Thanks,
>>
>> Sean
> >


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