Christopher Allen <[EMAIL PROTECTED]> wrote: > In the www.iPhoneWebDev.com community we've been puzzling through how > to identify the change that happens when the iPhone's physical > orientation changes from portrait to landscape and back, and also how > to control the viewport scaling. > > We need this in order to create good iPhone webapp UI that works in > both portrait and landscape mode. > [...] > There is a lot of discussion on this in this thread: > http://groups.google.com/group/iphonewebdev/browse_thread/thread/f43493a828dffdb3 > > My guess is that all of these problems are in layers that are not > webkits responsibility, but possibly someone here might know the > answers, or know how they should work to follow an existing DOM > standard. Is there a scaling property in DOM someplace? Is there > another way we can detect orientation change until the window.onresize > bug is fixed?
Others have used the window's resize event to determine when the phone rotates. http://groups.google.com/group/iphonewebdev/browse_thread/thread/c064b183c1207a98 http://www.joehewitt.com/files/liquid1.html http://dev.visualdrugs.net/mootools/iphone/iphone.html Dave _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

