Ultimately I want to know when a page becomes visible so I can trigger an animation. Is this possible in javascript? I would like to trigger a callback when the page is turned.
Also, I'm using a single xhtml file for multiple pages because I want to share information via javascript between these pages. I have asked a question about this here:
https://www.mobileread.com/forums/sh...d.php?t=310016
But is it valid to do so?