会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
I'm new
上一页
1
2
3
4
5
6
7
8
下一页
2016年6月3日
函数颗粒化 参数截取并传递
摘要:
阅读全文
posted @ 2016-06-03 08:07 I'm new
阅读(644)
评论(0)
推荐(0)
编辑
惰性函数
摘要: 增加运行速度。
阅读全文
posted @ 2016-06-03 07:31 I'm new
阅读(145)
评论(0)
推荐(0)
编辑
2016年6月2日
面向对象之类的封装与调用
摘要:
阅读全文
posted @ 2016-06-02 16:53 I'm new
阅读(140)
评论(0)
推荐(0)
编辑
面向对象之prototype,__proto__
摘要: Object.prototype.__proto__ = null; //这是终点 __proto__指向的是构建者的prototype,它构成连接了原型链。 函数对象的prototype是个对象,里面有构造函数等,可克隆其他对象的方法。 原型链参考文章:http://blog.csdn.net/c
阅读全文
posted @ 2016-06-02 16:16 I'm new
阅读(156)
评论(0)
推荐(0)
编辑
Screen对象
摘要: Screen对象为整个显示屏的大小 window对象为浏览器的大小
阅读全文
posted @ 2016-06-02 13:28 I'm new
阅读(150)
评论(0)
推荐(0)
编辑
location对象
摘要: 1.获取主机名、路径、端口、协议 var hostName = window.location.hostname; var pathName = window.location.pathname; var port = window.location.port; var protocal = win
阅读全文
posted @ 2016-06-02 12:31 I'm new
阅读(90)
评论(0)
推荐(0)
编辑
history对象
摘要: 1、history对象前进 history.forward() 2、history对象后退 history.back() 3、history对象跳入指定页面 history.go(-1); //当前页面为0,前进为1后退为-1,等等。
阅读全文
posted @ 2016-06-02 12:19 I'm new
阅读(86)
评论(0)
推荐(0)
编辑
JS计时器
摘要: 连续执行: 1、 var timeInterval = setInterval(function(){},500); 2、清除计时: clearInterval(timeInterval); 暂停执行 1、 var tOut = setTimeOut(function(){},3000); 2、 停
阅读全文
posted @ 2016-06-02 11:36 I'm new
阅读(89)
评论(0)
推荐(0)
编辑
window对象
摘要: 1.获取窗口高宽 document.write("innerHegiht:"+window.innerHeight +"宽度:"+window.innerWidth); 2、打开新的窗口 window.open("http://www.163.com","网易");
阅读全文
posted @ 2016-06-02 11:05 I'm new
阅读(91)
评论(0)
推荐(0)
编辑
2016年5月31日
Dom操作html详细
摘要: xxx xxx xxx xxx 子节点 子节点1 子节点2 前面的子节点将被删除 节点3 忘记我见过 //ByName var nameA = document.getElementsByName('pn'); document.write("通过na...
阅读全文
posted @ 2016-05-31 20:45 I'm new
阅读(140)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
下一页
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理