Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aimfire

macrumors Maltese
Original poster
Jun 30, 2007
166
0
Sunnyvale, CA
Hi all,
Working on some "mini apps" specifically for iPhone and have two questions related to html for this...

1. Is it possible to do a browser detect for iPhone/Safari? And what is the html code for this? The idea, of course, is to bring people directly to the iPhone formatted page based on the browser detection.

2. Is there any way (yet) to force landscape rotation on the iPhone using html/javascript? If so... how?

thanks for your help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.