Scott

Results 7 comments of Scott
trafficstars

Here's the best solution that I have come up with for getting page number and total pages based on setting the number of characters per page: ```JavaScript // Initialize the...

It updates accordingly when the `relocated` event is triggered. I will have to see how to manually trigger that event for the actual values to change.

> > It updates accordingly when the `relocated` event is triggered. I will have to see how to manually trigger that event for the actual values to change. > >...

@hesampour, it's pretty simple once you know what your variables are: ``` JavaScript calculateReaderHeight() { let h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); // On the next line you need to...

@sbrighiu and @MrXCQ This is the best solution that I have came up with to get the percentage, current page, page range and total pages: https://github.com/futurepress/epub.js/issues/744#issuecomment-492300092 There are a few...

I would really love to see this. +1

Very odd, because now I'm unable to replicate the error.