I finally got a chance to see this. i see one additional improvement
is the addition of

        if (typeof window.onorientationchange == "object")
        {
                window.onorientationchange=orientChangeHandler;
                hasOrientationEvent = true;
                setTimeout(orientChangeHandler, 0);
        }

I am trying to solve why on a G1, the styles dont respond to
body[orient="landscape"] > .panel > .vanceit > .imghome {
      width: 450px;
}

Along those lines, be aware that to make iui more compatible with
other phones than the iphone (if that is seen as a virtue) you should
change the var orient setting more loosely to something like this:
     var orient = currentWidth <= 390 ? "profile" : "landscape";
I did so at first because the G1's dims are 6 pixels short on both
sides of an iPhone, plus I can develop faster on Firefox/firebug while
making the window change size.

In still trying to solve my G1 issue, i am going to try to just alter
the styles directly in the js.


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