Saturday 31 August 2013

Setting z-index of `$.mobile.loading`

Setting z-index of `$.mobile.loading`

I am using jQuery's $.mobile.loading function in the following function:
function showLoading(msg) {
setTimeout(function(){
$.mobile.loading( 'show', {
text: msg,
textVisible: true,
theme: 'b',
html: ""
});
}, 1);
Sometimes the loader is in the background because a div is on top of it.
How can I set the z-index to really high, or do something else to make
sure it's always on top of everything?

No comments:

Post a Comment