Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding Status Bar after loading

Status
Not open for further replies.

shultz

Programmer
Oct 28, 2001
42
HK
Hello,

I load a page in a new window like this

winSpecs='toolbar=no,status=yes,scrollbars=yes,width=400,height=450,resizable=yes,left=200,top=100'

srcFile = 'cellDetails.asp';

cellWin=window.open(srcFile,'cellDetails',winSpecs);
return true;

Is it possible to hide the status bar once the window loading is finished. I want to show a message in the status bar like "Loading Please wait.." until the page is loaded. Once it is loaded I want to remove the status bar.

Any Ideas??
 
No, it's not possible to turn on/off any window feature (statusbar, toolbar, etc) after page is loaded.

You can try to do the following:
Place a layer with position at the bottom of your page with some &quot;loading...&quot; text. Add <body onload=&quot;&quot;> function that will hide the layer:
document.getElementById(layername).style.visibility=&quot;hidden&quot;;

But, I don't see much sence in this. Just don't hide the status bar in window.open() and browser will do it itself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top