jQuery mobile does the nice page loading animation when a page is being loaded, but for a page that is heavy with data, the user can still see a 'white' page momentarily until the newly loaded page is displayed. To get rid of that, I am using the following code:
$.mobile.loading( 'show', {
text: 'foo',
textVisible: false,
theme: 'a',
html: ""
});
In spite of that I see the white page still. Is there a way to show an animation on the white page until the actual page loads? I like http://www.amerimark.com website's way of displaying the loading message when you click on the left navigation buttons.