Page 1 of 1

javascript window.open

Posted: Mon Dec 09, 2002 11:32 am
by kcomer
I would like to remove the menu and toolbars from the browser window in order to get more usable space on the screen without making a KIOSK type setup.

I have the following code but it wont modify the existing windows properties, is this not even possible?

Code: Select all

<body onLoad="window.open('https://192.168.1.10/csbg/index.php', '_self', 'menubar=no,toolbar=no,resizable=yes,status=yes');">
If I change _self to _blank, or anything else, it works fine. Any ideas?

Keith

Posted: Fri Dec 13, 2002 7:48 am
by f1nutter
The second parameter is the name of the window. This can be used so that JavaScript can reffer to it.

You will need to open a new window if you want to use this method. Just put a logo on your front page and leave it at that.