PDA

Click to See Complete Forum and Search --> : Setting window parameters on loading


msdnexpert
Oct 5th, 2000, 08:06 AM
Hi all,
How does one disable the menus,toolbar and status bar of a window when the window is loaded. I would like to do these in the OnLoad event of the window.
Thanks in advance

monte96
Oct 5th, 2000, 09:36 AM
I think you can only do this in IE when opening a new window like this:


window.open("MyASPPage.asp", "", "status=no,toolbar=no,menubar=no")


This would open a new window to display the page and already have the features turned off by default.

msdnexpert
Oct 5th, 2000, 12:20 PM
Hi monte96,
Thanks for the reply. Actually the window.open works fine in Netscape too. However I am trying to disable the menu and toolbars in the OnLoad event of the window i.e after the window is opened not in the call to the window open.
Any ideas suggestions