futurepress / epubjs-reader

Epub.js Reader
MIT License
443 stars 131 forks source link

Help with the next page button? #43

Open webservant316 opened 3 years ago

webservant316 commented 3 years ago

Hello and thanks for Futurepress. I use this wonderful tool on my Bible website.

One improvement I would like to make. When the index is open the panel expands on the left. However, when it does so it pushes the next page button off the right hand of the screen. Anyway to fix this? Do I need to change some css? Or does something need to be fixed in Futurepress? I would like the be able to have the index open with both the next and previous page buttons also available.

See this example,

http://www.aionianbible.org/epub/Holy-Bible---English---Aionian-Bible---Aionian-Edition

Thanks for any help,

Jeff

webservant316 commented 3 years ago

any help?

webservant316 commented 3 years ago

Figured out the solution after much research. I need to set 'sidebarReflow' to true. It defaults to false on initialization. My ePub start up line looks like....

window.reader = ePubReader("my.epub", { 'restore': true, 'sidebarReflow': true } );