On Aug 14, 4:43 pm, Sean Gilligan <[email protected]> wrote:
> RobG wrote:
> > There should be no hard coded value at all. Landscape mode can be
> > assumed if width is greater than height, otherwise, the device is in
> > portrait mode, so:
>
> > var orient = (currentWidth > currentHeight)? ... ;
>
> Genius idea! Damn, why didn't anyone else think of this?
I've posted it at least twice previously. But the bottom line for me
is why bother to detect orientation at all? One reason I use portrait
is it allows me to zoom in a little more and get bigger fonts without
having to pan. If the author decides to re-format the page to give the
same size fonts but wider viewport, I'm back to zooming and panning.
If a page is well designed in the first place, there is no need to
detect orientation.
--
Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---