Bookmark: Changing the iPhone Orientation in JavaScript

Saturday, December 29 2007

I am writing new web apps for my iPhone, doing GIS on the iPhone is interesting, but you need to make a few modification on the HTML to get all the power from your iPhone, the first one is displaying the map with the Orientation the user ones. The code to do that can be found on the Apple website:

"iPhoneOrientation" llustrates how to respond to iPhone or iPod touch orientation events, determine iPhone current orientation, and dynamically display a descriptive message and adjust styling on a webpage according to the device's current orientation.

Cheers

Al

Comments

I Organize » Blog Archive » Bookmark: Changing the iPhone Orientation in JavaScript said on 12.29.2007 at 5:25 PM

Pingback from  I Organize  » Blog Archive   » Bookmark: Changing the iPhone Orientation in JavaScript


IPhone » Bookmark: Changing the iPhone Orientation in JavaScript said on 12.29.2007 at 5:34 PM

Pingback from  IPhone » Bookmark: Changing the iPhone Orientation in JavaScript


Javascript said on 12.29.2007 at 7:14 PM

Pingback from  Javascript