View Single Post
Old 12-30-2021, 07:57 AM   #4
OShead
Junior Member
OShead began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2021
Device: none
Quote:
Originally Posted by kovidgoyal View Post
I am confused. There are no pages in flow mode, that's the whole point of flow mode. If you mean internal file boundaries (aka chapters) there is a setting to prevent scrolling with keys from doing this in the viewer preferences under Scrolling behavior. So enable that setting and scroll with keys instead of th emouse wheel.
I got that thanks and am now using that method. It stops scrolling at the end and will only jump to next page (chapter) if i lift the key and press it again. That's perfectly fine for my use.

I do have another question if you don't mind. I play an audio file when the page is opened and use an eventlistener with javascript to detect the end of the audio file. I tried to call with javascript the next page but it doesn't work. And it seems I can't call any of the keyboard shortcuts you have setup either without user interaction.

Is there a way I can access the calibre api (or something ) with javascript to go to next page exactly the way Ctrl+PageDown does?
OShead is offline   Reply With Quote