jquery and js
一、window对象表示浏览器中打开的窗口 二、window对象可以省略 一、document对象是window对象的一部分 二、浏览器的HTML文档成为Document对象 window.location和document.location window对象的location属性引用的是Location对象 表示该窗口中当前显示文档的URL. document的对象的location属性也是引用了Location对象 window.location===document.location //true javascript的高宽 window.innerWidth window.innerHeight window.outerWidth window.outerHeight window.screen.height window.screen.width widow.screen.availHeight window.screen.availWidth window.screenTop window.screenLeft document.body.clientWidth document.body.clientHeight document.body.clientLeft document.body.cilentTop 假如无padding无滚动 clientWeigth