I am trying to get access to the height of the entire page (including scrolling). In chrome, document.body.scrollHeight does this. In firefox, this doesn't work... what is the equivalent in firefox?
definitely start using jquery, accessing $(document).height() will do all the browser checks for you.
http://api.jquery.com/height/
You can use jquery to do this without browser problem.
User jQuery $(document).height()
and $(document).scrollTop()
functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With