I'm about to embed a .pdf file in a HTML document and I want the surrounding frame to change to a specific color for each page the user scrolls by.
The document loads at page 1 and the javascript should return '1' - Then the user scrolls down to page 2 and the javascript should return '2'
I'm quite sure Adobe's Reader plugin is not capable of this and I can't seem to find any documentation for eg. PDF.js that describes such a function.
The question has been answered for #C
earlier so I'm pretty sure it must possible with javascript to.