Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

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

By: a guest on Apr 8th, 2013  |  syntax: None  |  size: 0.17 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     <script type="text/javascript" language="Javascript">
  2.       if (screen.width <= 699) {
  3.       document.location = "http://kimerick.com/mobile.html";
  4.       }
  5.     </script>