I am not sure if this is something that has already been discussed, I tried searching on the list of issues but could not find anything related to it.
I have a large HTML content that I need to bind using turn.js. The problem I have is that, with turn js, I will have to split the HTML into separate div tags as pages. Is there a way in turn.js to bind the content on a div and it takes care of automatically wrapping to different pages based on the content that is being bound?
Or is there a way to know how much data needs to be bound to each page to get this scenario working.
According with the documentation (http://www.turnjs.com/docs/Method:_addPage) you can add dinamically pages. So when the page is loaded you can custom split your pages and add them dinamically. Something like this.
Imagine this HTML:
We have here 4 pages but there are all in the same page, and the last element is where flipbook will be constructed. So when we load the page let's split them in Javascript:
And that's all.
Tell us if this fits with your requirements. If not, please, share with us your html structure to view how to solve the problem.