View Single Post
Old 04-17-2010, 05:56 AM   #3
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
the reader does support jquery (it's builtin). But there's no easy way to add plugins, short of editing the source code.
Sorry, no python for me...
Quote:
Originally Posted by kovidgoyal View Post
the reader doesn't store an id for paragraphs, instead the reference number is calculated each time it's needed. That javascript to do this is in the resources/viewer directory of the calibre install.
I see it. But where the custom CSS settings are stored?
Quote:
Originally Posted by kovidgoyal View Post
You can just add any javascript you want to these files to make it avaialble to the viewer.
I add my fuctions to some of the files, but how do I call them? Or you mean that may be I could replace the , lets say, referencing.js with my ouwn referencing.js ?
Thank you very much.
pollito pito is offline   Reply With Quote