SHARE
TWEET

Detect mobile screen size and Redirect (if so) to mobile.

a guest Apr 8th, 2013 25 Never
  1.     <script type="text/javascript" language="Javascript">
  2.       if (screen.width <= 699) {
  3.       document.location = "http://kimerick.com/mobile.html";
  4.       }
  5.     </script>
RAW Paste Data
Top