2013-02-26

I´m developing a PhoneGap application (HTML5 + CSS3 + Javascript/JQuery Mobile). I´ve started using a single HTML file with multiple pages. I´m using page transitions (Slide) on changing among pages.

The problem occurs when I break the single HTML page in multiple HTML files (one for each page). I cannot load the pages. The framework display "Error Loading Page".

I know that JQuery Mobile framework uses AJAX to load the page contents when using multiple html files. If I deploy the app in a web server (say IIS) everything goes fine. But running in local files - like PhoneGap apps demands -, the framework cannot perform an AJAX request, and consequently the page cannot be loaded "Error Loading Page".

I need to use JQuery Mobile

I need to use page transitions (slide) to improve user experience

I want to use multiple HTML files to not have to deal with a unique huge html file

The app will not be deployed to a web server because it is a PhoneGap App and must run locally in file system.

I´m deploying the app in an android and using the Adobe Build to generate the APK installation file.

Could someone give some advice?

Thanks!

Show more