Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old July 9th, 2009, 07:55 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2008
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default 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]
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

iaindownie is offline  
Reply With Quote
Sponsors
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:53 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.