iPhone Webtricks

When creating a website specifically aimed at the iPhone, there are some cool things you can do to improve your visitor’s iPhone web-experience.

Show a movie
It’s very easy to add a movie to a webpage. But, if you put an image in there instead, and link to the movie, the movie will open in the iPhone’s videoplayer instead of Safari.

<embed src=”mymovie.jpg” href=”mymovie.mov” widt=”380″ height=”290″>

Link to a telephonenumber
To add a link to a telephonenumber on a webpage, that will automatically be dialled when clicked, use this code:

<a href=”tel:01234567890″>Tel: 01234567890</a>

Hide the statusbar
Safari gives you the opportunity to automatically hide the statusbar when your webpage is being loaded:

<script type=”text/javascript”>


Leave a Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

If you agree to these terms, please click here.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This

Share This

Share this post with your friends!

%d bloggers like this: