What is the difference between window.innerheight
from document.body.offsetheight
?
Answer 1, Authority 100%
window.innerheight
– will return the height of the window, and document.body.offsetheight
the height of the entire page
Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.