Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Meet Joe Hewitt, iPhone Web App Interface Guru

750214294_e2fa2d1537_b

Many of the developers I’m talking to at today’s iPhoneDevCamp keep dropping the same name: Joe Hewitt. That’s not just because Joe (pictured above) is a well-known Firefox developer. He has also hacked together a set of templates that greatly improves the presentation and usability of any iPhone web application.

Joe’s template set, which he has just posted to his site, includes a native-looking iPhone skin — a set of PNG files and some stylesheets to give pages the “iPhone chrome” look and feel. There’s also a JavaScript component that iPhonifies the navigation. It gets rid of the Safari toolbar, forces the pages to flip like a native app and adjusts the page elements to look consistent when the phone is spun between the portrait and landscape modes. You can read more about Joe’s templates at Ajaxian. A good number of developers have adopted Joe’s skin, so it’s well on its way to becoming the “default” look for iPhone web apps.

The disappearing toolbar makes perfect sense — when loading pages into the iPhone’s Safari browser, the toolbar takes up a large chunk of real estate at the top of the screen. By inserting one line of JavaScript, you can force the browser to automatically scroll just beyond the bottom of the toolbar, letting your app take over the entire screen. Joe has posted details about this simple hack on his blog.

Joe and his two cohorts here at the camp are working on a game utilizing the iPhone’s gravity sensors. Your character in the game has differently shaped indentations on the sides, and spinning the iPhone rotates the character so you can catch differently shaped falling objects. Can’t wait to see that one.

Oh yeah, Joe has also hacked together a tiny version of Firebug to run on the iPhone so you can debug the JavaScript in your web apps. Busy man!

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year