all groups > dotnet jscript > october 2004 >
You're in the

dotnet jscript

group:

Showing/Hiding Attributes of the Window Using Javascript


Showing/Hiding Attributes of the Window Using Javascript Nathan Sokalski
10/8/2004 11:39:25 PM
dotnet jscript:
I would like to hide certain parts of a window such and the menu bar,
toolbar, status bar, etc. However, the following properties of the window
object give an error saying they do not exist in Internet Explorer (whether
any of them exist in Netscape, I don't know yet since I haven't tested in
Netscape yet):

window.locationbar.visible=false;
window.menubar.visible=false;
window.personalbar.visible=false;
window.scrollbars.visible=false;
window.toolbar.visible=false;
window.statusbar.visible=false;

Because most of these attributes can be set when a window is opened using
the window.open method, assuming that it is not stopped by a popup blocker,
I would hope that they could be set individually as well. However, as of
this point, I do not know of any way to do this. Any help would be
appreciated. Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
www.nathansokalski.com

Re: Showing/Hiding Attributes of the Window Using Javascript Randy Webb
10/8/2004 11:46:17 PM
[quoted text, click to view]

No, you can not change any of those items on a window that is already open.

--
Randy
AddThis Social Bookmark Button