获取屏幕方向
摘要:function orientationChange(){switch(window.orientation) {case 0: // Portraitcase 180: // Upside-down Portrait// Javascript to setup Portrait viewbreak;case -90: // Landscape: turned 90 degrees counter-clockwisecase 90: // Landscape: turned 90 degrees clockwise// Javascript to steup Landscape viewbre
阅读全文
posted @ 2013-09-29 12:59