Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #20451
| Message-ID | <2605614.rhauKp79nQ@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-06-26 16:37 +0200 |
| Subject | Re: Dynamically changing the viewport in iOS Safari doesn't work until the second time rotating the device |
| Newsgroups | comp.lang.javascript |
| References | <ea295286-521e-4295-a92b-043fddebefdb@googlegroups.com> |
Mauro Julián Fernández wrote: [wrapped to 80 characters per line] > I'm developing a web for iPad/iPhone and need to set different viewports > for portrait and landscape mode. I'm doing this with Javascript with the > orientationchange event, but there is a problem, after loading the page > when I first rotate the device, the content doesn't get scaled, but this > is only the first time, if I go back to the first state and then rotate > back again, this time works perfectly. I tried the same but loading the > page with the other orientation and it's the same problem, it only scales > the content properly after the second try. For your next posting that you should not post via Google Groups, and that should contain less than 80 characters per line: .......................................................................... See also: <http://jibbering.com/faq/#posting> <http://PointedEars.de/faq#posting> BTW, there is no “Javascript”: <http://PointedEars.de/es-matrix> -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Dynamically changing the viewport in iOS Safari doesn't work until the second time rotating the device Mauro Julián Fernández <mauroj.fernandez@gmail.com> - 2013-06-26 06:04 -0700 Re: Dynamically changing the viewport in iOS Safari doesn't work until the second time rotating the device Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-26 16:37 +0200 Re: Dynamically changing the viewport in iOS Safari doesn't work until the second time rotating the device Andrew Poulos <ap_prog@hotmail.com> - 2013-06-27 07:25 +1000
csiph-web