Get the actual height of the web page with javascript

xiaoxiao2021-03-06  40

JavaScript: Alert (window.document.body.scrollHeight); This is to get the height of the scroll bar plus the height of the scroll bar up and down arrows.

转载请注明原文地址:https://www.9cbs.com/read-53722.html

New Post(0)