会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
致逝去
博客园
首页
新随笔
联系
管理
订阅
2016年12月2日
长按按钮事件函数
摘要: 这里是代码的逻辑编写部分 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $.fn.longPress = function(fn) { var timeout = undefined; var $this = this; alert(this.length); for(var i
阅读全文
posted @ 2016-12-02 19:33 致逝去
阅读(368)
评论(0)
推荐(0)
2016年12月1日
移动端rem实现响应布局
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,u
阅读全文
posted @ 2016-12-01 17:26 致逝去
阅读(271)
评论(0)
推荐(0)
JS/JQ获取各种屏幕的高度和宽度
摘要: Javascript: 网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.off
阅读全文
posted @ 2016-12-01 14:39 致逝去
阅读(43130)
评论(0)
推荐(2)