摘要: offsetWidth, clientWidth, scrollWidth的区别 offsetWidth width+padding+border clientWidth width+padding scrollWidth 大小是内容的大小 scrollTo(x,y) 去往页面的x和y坐标的位置 w 阅读全文
posted @ 2016-11-07 15:46 大石头Oo 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Html基本结构访问方法 document.head document.body document.title document.documentElement和document.html的意思一样,但是没有document.html的写法 HTML DOM Document 对象 Document 阅读全文
posted @ 2016-11-07 11:16 大石头Oo 阅读(107) 评论(0) 推荐(0) 编辑