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 at http://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. On Jul 31, 12:15 pm, Adam Norwood <a...@adamnorwood.com> wrote: > Thanks Jorge for taking the time to write up a test page! That's > awesome. Your version does something that I hadn't tried yet, so it's > valuable: it shows that initially, before the pinch-zoom, it's > possible to control the scale via javascript, but once the pinch-zoom > occurs that functionality goes away completely and only comes back > when the page is reloaded. Hmm. Not sure what to make of that, but > it's definitely frustrating. > > Back to the drawing board... > -Adam > > On Jul 31, 1:27 pm, Jorge Chamorro <jorgechamo...@mac.com> wrote: > > > On 31/07/2009, at 20:17, Jorge Chamorro wrote: > > > Hi, > > > > This seems to work: > > > >http://jorgechamorro.com/cljs/076/ > > > Ok. I've re-read what you wrote. No, this doesn't work... :-( > > Maybe some unknown style property of the body element ? > > > -- > > Jorge. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---