Web page visible area width: document.body.clientWidth
Web page visible area height : document.body.clientHeight
The width of the visible area of the web page: document.body.offsetWidth (including the width of the edge)
The height of the visible area of the web page: document.body.offsetHeight (including the height of the edge)
Full text of the web page Width: document.body.scrollWidth
Height of the full text of the webpage: document.body.scrollHeight
The height of the scrolled webpage: document.body.scrollTop
The left side of the scrolled webpage: document.body.scrollLeft
Top of the main body of the web page: window.screenTop
Left of the main body of the web page: window.screenLeft
Height of the screen resolution: window.screen.height
Width of the screen resolution: window.screen.width
Screen available workspace height: window.screen.availHeight
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn