View Single Post
Old 05-23-2010, 12:10 PM   #9
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
Quote:
Originally Posted by kovidgoyal View Post
You wont be ale to do it in javascript as javascript works only with the current document and an ebook can contain multiple html file.

You basically have to write equivalent versions of the next_page and previous_page functions in python for horizontal scrolling.
Well, I was thinking about “goto_next_section” or “goto_prev_section”.
Correct me if I’m wrong, but the table of contents should be accessible through JS or maybe the temporary opf or ncx files.
If I could just but read (and write!!) the calibre_current_page_bookmark'…
pollito pito is offline   Reply With Quote