Dear Octavio,
I have our MobiOne website App at http://www.modernspecialties.com/mobile
I am trying to automatically detect a mobile phone and direct it automatically to the mobile site.
I found this code online which works very well to automatically direct our regular website to the MobiOne App when a smartphone is detected:
<script type=”text/javascript”>
<!–
if (screen.width <= 699) {
document.location = “/mobile”;
}
//–>
</script>
My problem is I can’t figure out how to change the App to return to the full website if someone chooses to do so. I have a link to the full website on the our catalog page, but it just loops back to the app instead of the full website.
Can you help?
Bob