image
image
Ticket Options
Question Profile
DATENov 3, 1998
TICKET#44692
STATUSClosed
SUBJECT
CAT
TYPE
DESC
DESC
PLATFORM
MODEL
PROC
RAM
DRIVE
NAME
USERNAME
TECHNICAL
ISSUE
Question Details
TICKET ARCHIVE -> Java Script
No Wonder User - Nov 3, 1998 - 7:42 pm
image
image
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

No Wonder Tech - Nov 4, 1998 - 11:51 am
image
image
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/

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0