会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
永醉雨辰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
2015年11月26日
JS判断是否是微信页面,判断手机操作系统(ios或android)并跳转到不同下载页面
摘要: 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 永醉雨辰
阅读(5805)
评论(1)
推荐(0)
2015年11月24日
清除页面缓存
摘要: 方法一:其他 参考:http://www.haorooms.com/post/js_llq_hc
阅读全文
posted @ 2015-11-24 11:04 永醉雨辰
阅读(186)
评论(0)
推荐(0)
2015年11月18日
webstorm抽取函数
摘要: webstrom1.extact 抽取函数:选中代码,右键,refactor-extact 1 function matchPicLink() { 2 var $match = $('#match'); 3 var mWidth = Math.floor($match.width()...
阅读全文
posted @ 2015-11-18 10:44 永醉雨辰
阅读(623)
评论(0)
推荐(0)
js闭包问题
摘要: 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 永醉雨辰
阅读(147)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
公告