Need to render HTML file as a book and retain CSS formatting on Android -
i apologize in adavance similiar question exists here: need show html page (with css) book page flipping
unfortunately seems poster solved own problem without revealing details of solution.
as not have required reputation comment on original post, , lack ability ask poster directly, forced ask community help.
i need described in previous post. able display entire html file display book ability swipe page page.
the solution know how perform manually splitting file dozens of seperate .html files , switching between them user flips pages.
i realize terrible way implement , looking better way.
i have been able find solution after research. technique wrap each section in div tags css attribute style="display:none" hide section. inject javascript application change appropriate page style="display:block" display associated section
<div id="page1" style="display:none"> text here </div>
Comments
Post a Comment