摘要:
function fn1() { alert(1) } function fn2() { alert(this) } function blind(obj,evname,fn) { if(obj.attachEvent) { obj.attachEvent('on'+evname,function() { fn.call(obj); } ); ... 阅读全文
posted @ 2016-04-21 21:57
hduhdc
阅读(128)
评论(0)
推荐(0)
摘要:
无标题pj文档 阅读全文
posted @ 2016-04-21 20:58
hduhdc
阅读(120)
评论(0)
推荐(0)
摘要:
window.location。search;表示url?后面的内容 window.lacation.hash;表示url#后面的内容 window.onscroll=function() { } window.onresize=function() { } 阅读全文
posted @ 2016-04-21 19:44
hduhdc
阅读(348)
评论(0)
推荐(0)
摘要:
Browser Object Model 浏览器对象模型 open(地址,打开方式) open('http://www.baidu.com','_self')本窗口打开百度 open('http://www.baidu.com')新的窗口打开百度 open()以新窗口的方式打开新的空白页面 clos 阅读全文
posted @ 2016-04-21 19:35
hduhdc
阅读(123)
评论(0)
推荐(0)
摘要:
无标题文档 div1 div2 阅读全文
posted @ 2016-04-21 15:59
hduhdc
阅读(284)
评论(0)
推荐(0)
摘要:
ll无标题文档 111111 22222 33333 444444 阅读全文
posted @ 2016-04-21 15:56
hduhdc
阅读(113)
评论(0)
推荐(0)
摘要:
无标题文档 div1 ppppp 阅读全文
posted @ 2016-04-21 09:43
hduhdc
阅读(95)
评论(0)
推荐(0)
摘要:
无标题文档 阅读全文
posted @ 2016-04-21 09:41
hduhdc
阅读(111)
评论(0)
推荐(0)
摘要:
function getTop(obj) { var pos={left:0,top:0}; while(obj) { pos.left+=obj.offsetLeft; pos.top+=obj.offsetTop; obj=obj.offsetParent; } return pos; } 阅读全文
posted @ 2016-04-21 09:40
hduhdc
阅读(203)
评论(0)
推荐(0)
浙公网安备 33010602011771号