Feed On: RSS Feed Posts RSS Feed Comments

Tag Archive 'Browser'

Here is a quick way to detect users coming to your site using an iPhone/iPod Touch and to redirect them to your MOBILE version of your site.
The script should go between the HEAD section of your page. Just replace iphone-version.html with the URL of your MOBILE version of your site.

<script language=javascript>
<!–
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.replace("iphone-version.html");
}
–>
</script>

Once you got [...]

Read Full Post »