part4:
console.log("屏幕可用工作区高度:" + window.screen.availHeight);
console.log("屏幕可用工作区宽度:" + window.screen.availWidth);
console.log("屏幕可用工作区高度:" + window.screen.availHeight);
console.log("屏幕可用工作区宽度:" + window.screen.availWidth);
2016-06-03
part3:
console.log("网页正文部分上:" + window.screenTop);
console.log("网页正文部分左:" + window.screenLeft);
console.log("屏幕分辨率的高:" + window.screen.height);
console.log("屏幕分辨率的宽:" + window.screen.width);
console.log("网页正文部分上:" + window.screenTop);
console.log("网页正文部分左:" + window.screenLeft);
console.log("屏幕分辨率的高:" + window.screen.height);
console.log("屏幕分辨率的宽:" + window.screen.width);
2016-06-03
part2:
console.log("网页正文全文宽:" + document.body.scrollWidth);
console.log("网页正文全文高:" + document.body.scrollHeight);
console.log("网页被卷去的高:" + document.body.scrollTop);
console.log("网页被卷去的左:" + document.body.scrollLeft);
console.log("网页正文全文宽:" + document.body.scrollWidth);
console.log("网页正文全文高:" + document.body.scrollHeight);
console.log("网页被卷去的高:" + document.body.scrollTop);
console.log("网页被卷去的左:" + document.body.scrollLeft);
2016-06-03
part1:
console.log("网页可见区域宽:" + document.body.clientWidth);
console.log("网页可见区域高:" + document.body.clientHeight);
console.log("网页可见区域宽(包括边线的宽):" + document.body.offsetWidth);
console.log("网页可见区域高(包括边线的高):" + document.body.offsetHeight);
console.log("网页可见区域宽:" + document.body.clientWidth);
console.log("网页可见区域高:" + document.body.clientHeight);
console.log("网页可见区域宽(包括边线的宽):" + document.body.offsetWidth);
console.log("网页可见区域高(包括边线的高):" + document.body.offsetHeight);
2016-06-03