G
Guest
Hi,
I am using a popup window in my application and the problem I'm having is
that even though I tell it to display before a while loop, it only displays
after the while loop completes. Please take a look at the code below. Is
there a way to get it to pop up before the while loop starts?
p=window.createPopup();
var pbody=p.document.body;
pbody.style.backgroundColor="white";
pbody.style.border="solid black 2px";
pbody.innerHTML="All containers on same File/DO will be automatically
selected. Please wait for this window to close.";
p.show(150,150,200,90,document.body);
while (i<len)
{
...this while loop takes about 7 seconds to complete...
}
Thanks,
John
I am using a popup window in my application and the problem I'm having is
that even though I tell it to display before a while loop, it only displays
after the while loop completes. Please take a look at the code below. Is
there a way to get it to pop up before the while loop starts?
p=window.createPopup();
var pbody=p.document.body;
pbody.style.backgroundColor="white";
pbody.style.border="solid black 2px";
pbody.innerHTML="All containers on same File/DO will be automatically
selected. Please wait for this window to close.";
p.show(150,150,200,90,document.body);
while (i<len)
{
...this while loop takes about 7 seconds to complete...
}
Thanks,
John