Forum Moderators: open

Message Too Old, No Replies

How do I hide NS 6/7's sidebar?

window.sidebar.visible=false doesn't work!

         

MikeG

11:47 pm on Nov 6, 2002 (gmt 0)

10+ Year Member


Opening a popup-style window containing copyright data, but don't want controls in the link -- want the new window to do the work. Have universal permissions, so all the following works:

<SCRIPT LANGUAGE="JavaScript">
<!--
window.resizeTo(430,400);
window.menubar.visible = false;
window.toolbar.visible = false;
window.locationbar.visible = false;
window.statusbar.visible = false;
window.personalbar.visible = false;
window.sidebar.visible = false;
//--></SCRIPT>

HOWEVER...

If Netscape's Sidebar is open, I don't get the full window. I realize I can control interior page size, but this is a no go for IE, so would prefer to avoid it.

Is there another way, similar to the window.sidebar function?

Brett_Tabke

2:26 am on Nov 19, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I believe it depends on the user settings for "Scripts and Plugins".