why not use: document.documentElement.scrollHeight - document.documentElement.clientHeight; as height? if you do, you get 0-100% from top to bottom, it's so much more satisfying.
@keycoding53794 жыл бұрын
😄 Yes you can use this method is also not much complicated Thanks for suggesting ♥️❤️