Thread: Building a wbesite for iPhone...
-
09-09-2008, 01:58 AM #1
Building a wbesite for iPhone...
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
-
09-09-2008, 12:28 PM #2iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
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
-
09-09-2008, 11:20 PM #3Owner / Founder - ModMyi
aka poetic_folly
- Join Date
- May 2007
- Location
- Tampa, Florida, United States
- Posts
- 8,145
- Thanks
- 497
- Thanked 4,462 Times in 1,102 Posts
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



LinkBack URL
About LinkBacks
Reply With Quote


