Joe Hewitt has just released IUI, which are some nice little JavaScript libraries and style sheets to help you create a very cool front end GUI for your web based iPhone applications.
"First and foremost, iUI is not meant as a "JavaScript library". Its
goal is simply to turn ordinary standards-based HTML into a polished,
usable interface that meets the high standards set by Apple’s own
native iPhone apps. As much as possible, iUI maps common HTML idioms to
iPhone interface conventions. For example, the <ul> and
<li> tags are used to create hierarchical side-scrolling
navigation. Ordinary <a> links load with a sliding animation
while keeping you on the original page instead of loading an entirely
new one. A simple set of CSS classes can be used to designate things
like modal dialogs, preference panels, and on/off switches.Let me re-emphasize that all of this is done without the need for
you to write any JavaScript. It is meant to feel as though HTML was the
iPhone’s own UI language."
I recommend tht you take a look at it if you’re thinking about doing any iPhone work. He also has some great examples here.