I’ trying to use window.pageYOffset & window.scrollMaxY to calculate the current page progress. This approach works under FF3.5 but under webkit window.scrollMaxY is undefined.
I’ trying to use window.pageYOffset & window.scrollMaxY to calculate the current page progress. This
Share
I’ve got away with
document.body.scrollHeightso thatat the end of the page (on Android).