Hi,
I would like to have in the status line the number of pages to the end of chapter, but I cannot find a javascript function to get this information.
Do any of you know how can it be done?
Where can I find the functions that can be used within the pageChanged fucntios as countPages of getPage?
Code:
<function id="pageChanged">
if (this.isShown()) {
this.setVariable("BOOK_SIZE", this.getScale());
this.setVariable("BOOK_HALF_PAGE", this.getHalfPage());
var c = this.countPages();
var i = this.getPage() + 1;
...
I will add to the status bar the percent of book read, pages per minute, pages to finish chapter and estimated time to finish chapter.
I have already started modifying the main.xml and applicationStart.xml files, and now I
master the procedure after bricking my reader several times.
As soon as it is ready I will submit to Jeff in case he wants to add it to the PRSCustomizer.
/Carlos