Unless I'm missing something, the orientation update techniques (like the one in iUI) that are out there don't deal with the scale/zoom level at all, but just swap out CSS classes/styles, right? After a user has pinch-zoomed in, changing the <body>'s width doesn't seem to have any real effect on the zoom (I'm looking for a way to bring the zoom level back to 1.0). Do you know of a specific style or property that might make this work?
So far my only real solution is to do a window.location.reload() to reset everything. It's not exactly what I had in mind, but it's all I've come up with... -Adam On Aug 5, 4:53 pm, drewdeal <drewd...@gmail.com> wrote: > The orientation flip deals with the same issues, and from what I can > gather, it just listens on a timer and measures the width and alters > style accodingly. You can hack the same part of the iui.js to do your > stuff as well. > > I did some similar stuff for my app athttp://homesafari.us, I am > still dealing with some inconsistent behavior when the orientation > changes on my G1, but the iPhone emulator likes it. Be explicit on the > styles you need to conditionally trigger. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to iphonewebdev@googlegroups.com To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---