KNOWLEDGE LEVEL: Intermediate
PROBLEM: Other
COMPUTER TYPE:
MODEL:
RAM: Not related
OS VERSION: Not related
SERVICE PACK:
DESCRIPTION:
Hi.
I am trying to make a little JavaScript, placed in the beginning of a HTML-page, that can resize and position then window, when the page is loaded.
This part i OK
Here is the javascript
:
Now to the problem:
I also want to hide all the 'bars' (toolbar, buttonbar and so on)
Can you help me?
Michael Nielsen
Hi Michael,
Welcome to No Wonder! You can find a description of all of the properties of
the Window object at:
http://developer.netscape.com/docs/m...jsref/win1.htm
You want to look at properties such as locationbar and menubar.
You can turn all of the bars off with:
self.menubar.visible=false;
self.toolbar.visible=false;
self.locationbar.visible=false;
self.personalbar.visible=false;
self.scrollbars.visible=false;
self.statusbar.visible=false;
I'm not real sure if these work in IE or not, I think they do though.
If you have any more questions, email me.
T.R. Fullhart
thomasf@nowonder.com http://www.nowonder.com/