04 2016 档案

摘要:如何使用: (1)CheckOrientation.get_orientation() //返回的是“portrait”:表示竖屏,返回的是“landscape”表示横屏 (2)$(window).on('orientation:change',function(e,type){//其中type值是 阅读全文
posted @ 2016-04-21 16:22 唸随爱 阅读(335) 评论(0) 推荐(0)
摘要:var url = window.location.search, index = url.lastIndexOf('=') + 1, sub = url.substring(index), text = decodeURI(sub); results = result.replace(new RegExp(text,"g"), ""+text... 阅读全文
posted @ 2016-04-14 18:00 唸随爱 阅读(144) 评论(0) 推荐(0)