On Feb 17, 1:59 am, markdionne <[email protected]> wrote:
> I discovered two more issues when running my iUI app on Android:
>
> 1) Several page layout issues that occurred only in portrait mode
> disappeared when I removed "width=device-width" from <meta
> name="viewport" .../>
>
> 2) In iui.js, I changed:
> var orient = currentWidth == 320 ? "portrait" : "landscape";
> to
> var orient = currentWidth <= 320 ? "portrait" : "landscape";
Have you considered:
var orient = currentWidth < currentHeight? "portrait" :
"landscape";
Still something of a kludge but better than using a fixed value.
There are phones such as the HTC Touch Diamond2 that have 600x400
displays.
--
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
-~----------~----~----~----~------~----~------~--~---