上一页 1 ··· 8 9 10 11 12
摘要: JS判断客户端是否是iOS或者Android参考:http://caibaojian.com/browser-ios-or-android.html1 function is_weixin() {2 var ua = window.navigator.userAgent.toLowerCas... 阅读全文
posted @ 2015-11-26 10:39 永醉雨辰 阅读(5776) 评论(1) 推荐(0) 编辑
摘要: 方法一:其他 参考:http://www.haorooms.com/post/js_llq_hc 阅读全文
posted @ 2015-11-24 11:04 永醉雨辰 阅读(174) 评论(0) 推荐(0) 编辑
摘要: webstrom1.extact 抽取函数:选中代码,右键,refactor-extact 1 function matchPicLink() { 2 var $match = $('#match'); 3 var mWidth = Math.floor($match.width()... 阅读全文
posted @ 2015-11-18 10:44 永醉雨辰 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 1 function picLinkInit(parentClassName, imgW, imgH, childClassObjs) { 2 var $match = $(parentClassName); 3 var mWidth = Math.floor($match.width()); 4... 阅读全文
posted @ 2015-11-18 09:59 永醉雨辰 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12