摘要:
JS判断客户端是否是iOS或者Android参考:http://caibaojian.com/browser-ios-or-android.html1 function is_weixin() {2 var ua = window.navigator.userAgent.toLowerCas... 阅读全文
摘要:
方法一:其他 参考:http://www.haorooms.com/post/js_llq_hc 阅读全文
摘要:
webstrom1.extact 抽取函数:选中代码,右键,refactor-extact 1 function matchPicLink() { 2 var $match = $('#match'); 3 var mWidth = Math.floor($match.width()... 阅读全文
摘要:
1 function picLinkInit(parentClassName, imgW, imgH, childClassObjs) { 2 var $match = $(parentClassName); 3 var mWidth = Math.floor($match.width()); 4... 阅读全文