javascript window.open

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
kcomer
Forum Contributor
Posts: 108
Joined: Tue Aug 27, 2002 8:50 am

javascript window.open

Post 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
f1nutter
Forum Contributor
Posts: 125
Joined: Wed Jun 05, 2002 12:08 pm
Location: London

Post 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.
Post Reply