maxrohde.com
Using JQuery to Detect If on a Mobile Phone
JQuery and/or JavaScript have no native mechanism to determine whether a page is loaded on a mobile phone or not. However, CSS media queries offer this capability. I found the following nice trick …