symbol blog  ·  archive  ·  about  ·  Feed feed

iPhone Javascript Magic

Tuesday, August 28, 2007 11:38 PM

If you want a web page or a iPhone ready website to hide the "url-bar", just add the following to your onload event in your body html tag.setTimeout(scrollTo, 0, 0, 1)Here's the begin "body" tag as an example.

%lt;body onload="setTimeout(scrollTo, 0, 0, 1)">