While several of our clients have experience varying levels of success, small to mid-sized solutions may benefit from a simple inline javascript redirect.
Example:
<script language=javascript>
<!--
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.replace("http://TYPE_YOUR_URL_HERE");
}
-->
</script>
Those who are better versed in conditional CSS, will find that the iPhone
and iPod Touch react very favorably to a CSS that is optimized to the
specifications referenced by Apple in the developer documentation on their
site (Apple Developer Connection Guides).
-Robert Zullo
6 comments:
Very nice it works
Gil
http://www.amorelectric.com
310-699-9444
Indeed it works! Thanks..
Hi, What is the best place to put the javascript?
Abby Eagle
thanks you sooooooooo much
Post a Comment