• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Web page orientation

Hi,

I'm developing some web pages that I want working on both Android and iPhone browsers. For certain reasons, I want a certain screen layout when the phone is being used in portrait, and another layout when the phone is oriented in landscape (or the phone keyboard is flipped open in G1)

I have found a neat way on the iPhone here:
iPhone Orientation
HTML:
 [javascript] [css] [safari] [ipod] [iphone] [wekbit][/url] 
It works REALLY WELL! It basically shows  
12 
34 
in portrait, and  
13 
24  
in landscape 
 
However, I can't find any reference tutorials or hacks to acheive the same thing on the G1! 
 
Anyone out there point me in the right direction or have seen an example? 
Iain
 
Back
Top Bottom