BookBlock
BookBlock copied to clipboard
how to get the target page in onBeforeFlip
i need to know which page the user is going to flip to so i can load the content before the page flip.
I put nav in each item so $navNext : $( '.bb-nav-next' ), is a class and on EndFlip i can do config.$navNext.eq(page) and use it to preload image. You can take a look on html http://mag.walla.co.il/