摘要: //判断横屏或者竖屏 function orient() { //alert('gete'); if (window.orientation == 0 || window.orientation == 180) { document.getElementById("os").innerHTML += "portrait"; //$("body").attr("class", "portrait"); orientation = 'por... 阅读全文
posted @ 2013-12-07 11:52 AppleCn 阅读(944) 评论(0) 推荐(0) 编辑