Z-index problem progress-bar

hello support-team,

we load a pdf in a cell of a layout,
but if we start progressOn() the pdf is not under the progess-layer.
we try embed, also iframes with css like z-index - position … we got no better results.

is it possible to get the state of loading-bar like getEffect() function?
so we can use something like this…

new PeriodicalExecuter(function(p) {
        if (parent.layout.getEffect('loading')==false)
	     $('pdfDiv').show();
	     p.stop();
         }
}, 2);

can yout tell us, how to catch the loading state?
or may be you have a better idea.

thanks from our team for always good support.
bye


Hello,

is it possible to get the state of loading-bar like getEffect() function?

No, there is not a public method. You may set progress variable when the progressOn() is called and reset it after progressOff():

layout.progressOn();
progress = true;

layout.progressOff()
progress = false;

if(progress){
/your code here/
}