turn.js icon indicating copy to clipboard operation
turn.js copied to clipboard

Question: Page with open text?

Open kenanhodzic opened this issue 6 years ago • 7 comments

How come author's demo have selectable text? Is it html or PDF? How to get that feature? Thanks.

kenanhodzic avatar May 10 '18 09:05 kenanhodzic

I have the same question. is it html? @iwege @idlesysop @blasten @kenanhodzic . how to use? thanks.

wsygdiv avatar Dec 27 '18 08:12 wsygdiv

@wsygdiv @kenanhodzic that is correct, it is html. If you look in the demos folder, you can see examples of how to use it. Keep in mind that this repo hasn't been actively maintained. So, you may have some issues with the latest version of dependencies.

idlesysop avatar Dec 27 '18 16:12 idlesysop

Sorry, I may not have made it clear. I mean the content of the pages can be html ? the demos show content is Image format . Can the demo use the html in pages , not image . Thanks ! @idlesysop

wsygdiv avatar Dec 28 '18 01:12 wsygdiv

@wsygdiv, yes, content can be html.

tridnguyen avatar Dec 28 '18 05:12 tridnguyen

@tridnguyen do you have the demo for html fomat ? I don't know how to use it from Existing demo . thanks very much .

wsygdiv avatar Dec 28 '18 07:12 wsygdiv

@wsygdiv the demos in the demo folder have examples for you. Each div inside the div with the "magazine" ID is a page. You just need to place your html inside those child divs:

<div id="magazine">
  <div>Your html goes here for page one</div>
  <div>Your html goes here for page two</div>
</div>

tridnguyen avatar Dec 29 '18 00:12 tridnguyen

@tridnguyen thank you for your anwser . then, can it perform automatic paging ? if I upload full book of html fomat , how to paging the book ?

wsygdiv avatar Jan 03 '19 03:01 wsygdiv