Link to home
Start Free TrialLog in
Avatar of rcashon
rcashon

asked on

Do NOT show toolbar or address bar at page load

Ok,  I know that you can add a parameter to the window.open so as not to show the toolbar or address bar in a window, however, if I want to do this when the page loads do I use something in a META tag or such.
Avatar of TTom
TTom

rcashon:

The only time you can specify these parameters is when you are opening a child window.  You cannot change the browser configuration simply by loading a page.

I think that is what you are wanting to do, no?

Tom
You can force Netscape into kiosk mode, but you can only do that when the browser STARTS UP, not via HTML code...
Try this one

window.open("address to the page","","menubar=no,width=xxx,height=xxx")

Hope it works.

Mr Big
A workaround would be to have the original page blank except for a window.open statement.  Then have the child close the parent.  If the parent is in the form:

<HTML>
<HEAD>
</HEAD>
<BODY onLoad=window.open()>
</BODY>
<HTML>

Then put a closing function in the child window. The toolbars in the parent will be available until the closing script fires in the child. This might be too long for you. Of course none of this will work if the user has JavaScript disabled.
ASKER CERTIFIED SOLUTION
Avatar of tecbuilder
tecbuilder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial