Redirect desktop site to internal page
Is it possible to redirect a user who is browsing my site on their mobile to an internal jquery mobile page?
Currently for redirecting mobile browsers to the mobile site I use this:
<script type="text/javascript">
if (screen.width<800) {
window.location="http://www.magnetikmedia.co.uk/m/index.html";
}
</script>
<script type="text/javascript">
if (screen.width<800) {
window.location="http://www.magnetikmedia.co.uk/m/index.htm#monthlypricing";
}
</script>
however all this does on a mobile device is open the mobile homepage. Is it possible so in this instance the user would be taken straight to the pricing page? Some users will probably be reading my mailout promoting this page on their mobiles but currently when they click the link it just opens my homepage which is no good.
any ideas? Have I explained this enough?