1. Allie1138's Avatar
    Hi all...
    Im building a website for the iphone.. i have a gallery... Now, Im wondering, is there a code where I can keep the page locked on vertical so it doesnt 'turn' when the iphone is turned around? I dont want the site to be viewed when the phone is horizontal.

    Any help is appreciated!!! thx :-)

    -Allison
    2008-09-09 09:58 AM
  2. jakecigar's Avatar
    you can provide alternate page when landscape... but safari will always 'flip'!

    see the 'card' in my signature!
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1
    2008-09-09 08:28 PM
  3. Kyle Matthews's Avatar
    You can't stop it from rotating, but you can use Javascript to alter your gallery based on orientation.

    Safari Web Content Guide for iPhone: Introduction to Safari Web Content Guide for iPhone
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
    2008-09-10 07:20 AM
LINK TO POST COPIED TO CLIPBOARD