获取宽度
scrollWidth = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth);
获取高度
scrollHeight = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);
获取宽度
scrollWidth = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth);
获取高度
scrollHeight = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);