0

I'm linking to an alternate .css for the iphone, but is it possible to link to an alternate .html? I'm not overly keen on going through the original html, although I will if I have to.

Thanks for any help,

Tom

1 Answers1

1

Using this detect handheld device in jquery you will be able to know what kind of handheld is loading your page and than you may redirect the user to your new html page. Something like:

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) )
{
    location.href = "new-page.html";
}
Community
  • 1
  • 1
kappatech
  • 399
  • 3
  • 7