Rubytastic Rubytastic - 7 months ago 15
Javascript Question

jquery mobile: how to completely remove the pre-loader from jquery mobile?

By changing the CSS for jquery mobile you can remove the pre-loader image on page reloads, but still a grey circle appears on page reloads.

What would be the way to remove the preload indication in jquery mobile all together?

Answer

The best way would be to disable it altogether.

Try using this on mobileinit event:

$.mobile.loadingMessage = false;

This should fully disable it:

$.mobile.hidePageLoadingMsg()

More about this (with some examples) can be found in jQuery mobile documentation here.

Comments