禁止横竖屏切换、强制横竖屏:
摘要:
js判断屏幕横竖屏:function orient() { //alert('gete'); if (window.orientation == 0 || window.orientation == 180) { $("body").attr("class", "portrait"); orient 阅读全文
posted @ 2016-10-10 16:15 旅途8.8 阅读(180) 评论(0) 推荐(0) 编辑