I have noticed something similar.  I have a main page that sets the
viewport size and turns off scaling:

<meta name="viewport" content="width=320, height=480" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

These are observed when the page is loaded.  However, if I go to
another page that allows scaling, do some zooming, and then return to
the main page, it no longer obeys the viewport settings -- it can
scale and get all out of whack.  It may even scale for no apparent
reason when a user accesses a form menu, which is annoying.  I can
only assume that the viewport settings are *not* restored when a page
is reloaded from cache.  As you note, a formal reload does solve the
problem.

I am not sure if this is a bug, or something Apple intended.  They do
note that some of the viewport settings are "initial" settings only,
so perhaps that is what we're seeing.  Still, I would think these
would be reloaded from cache with the rest of the page content.

Craig

--

On Aug 5, 5:57 am, Mr Junk <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a demo app that I'm working on athttp://trystuff.com/
>
> The UI rotates and sizes properly when you rotate the iPhone.
>
> if you click on the Movies icon and go to the second page, the UI
> also rotates and sizes properly.
>
> But, if you click on Safari's back button to go back to the initial
> page and then rotate the iPhone, the landscape view is all out of
> whack and way too large.
>
> I have found that this is the case when hitting the back button from
> any rotatable page.
>
> Refreshing the page cures the problem.
>
> Anyone have any ideas why that might be happening.
>
> I'm using Joe's javascript to do the page rotation.
>
> Thanks,
> ml


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