How do I display a pop-up page that displays a message while a large page ASP loads and goes away when the page is loaded? Also if needed the pop-up page would display a percentage until done message.<BR>Thanks
Well... Write this to the client at the top of the page:<BR><script>var oMyWindow = window.open("url.asp", "WindowName", "features");</script><BR><BR>(Remember to .Flush)<BR><BR>Then, at the END of the page (or in the body onLoad() event handler), do:<BR><script>oMyWindow.close()</script><BR><BR>Craig.
First thanks this works very well!<BR>Where do i want to place the Response.Flush at?<BR>Also do you have any ideas on a percentage counter that displays while the page is loading on the pop-up?<BR>Thanks
Place Response.Flush directly after you've written the top bit of script out. That way the client gets the command to pop up the window ASAP...<BR><BR>The percentage counter is very hard to do. The only thing you can do is trap the onLoad events of images etc and calculate what's still left to load and things... There's no way to find it out as the page loads unfortunately.<BR><BR>Craig.