1. Check out our app, Forums for Android! Download and leave feedback here!

Web page orientation

Discussion in 'Application Development' started by iaindownie, Jul 9, 2009.

  1. iaindownie

    iaindownie Member
    Thread Starter
    5

    Dec 12, 2008
    7
    0
    5
    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:
    1.  [javascript] [css] [safari] [ipod] [iphone] [wekbit][/url]
    2. It works REALLY WELL! It basically shows  
    3. 12
    4. 34
    5. in portrait, and  
    6. 13
    7. 24  
    8. in landscape
    9.  
    10. However, I can't find any reference tutorials or hacks to acheive the same thing on the G1!
    11.  
    12. Anyone out there point me in the right direction or have seen an example?
    13. Iain
     

    Advertisement

Share This Page

Loading...