Quote:
Originally Posted by Barra
I have a fixed layout book, the xhtml of Chapter 1 is presented below. How do I detect using javascript what pages are currently visible to the reader?
|
You don't need to use Javascript to display page numbers. If you properly encode page breaks in epub3 files, epub3 apps with pager number support (e.g. iBooks for iOS and
Azardi for Windows/Linux/macOS) will display them automatically.
For an example, see this
IDPF epub3 sample file with page number references.