• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Need to render HTML file as a book and retain CSS formatting on Android

rocket452

Lurker
So I have a local HTML file with CSS and I need to display this file in the form of a book (scroll left/right to view previous/next content, not up and down).

The only solution that I know how to perform currently is manually splitting the file into dozens of separate .html files and switching between them as the user flips pages. Which I realize is a terrible way to do this.

I think that this is achievable with javascript but I do not know how to implement that as a solution.
 
Look out for some JavaScript libraries designed for mobile. Like JQuery Mobile, Kendo UI, JQxWidgets etc. They have concept called 'page' which is nothing but a DIV. They automatically show/hide the div's, which gives you a feel of pages.
 
Back
Top Bottom