A quick question, How do I change to my 'iPad.html' page by detecting what browser or device that person is using.
Some one told me that this is the solution :
<script type="text/javascript"> // <![CDATA[
if ((navigator.userAgent.indexOf('iPad') != -1)) {
document.location = "http://www.mysite.com/ipad.html";
} // ]]>
</script>
I just want to make sure that this is right.