removing features of window as it loads
I would like my starting page to open in a smallish window, without features such as toolbar, address bar, status bar and menu bar. I looked in the jscript reference at microsoft and could only find properties that have to do with size, positon, and the value of the status bar. I know that values for these features can be passed to the window.open() method. But I'm not opening a new window. I'm trying to determine the features of the window displaying the current document.
So how do I do this?
So far all I have is the following body tag. Which works, as I explained. But how do I get rid of the browser window features?
Andy Kohlenberg
Jerusalem, Israel
Suzanne posted this at 07:34 — 7th August 2001.
She has: 5,507 posts
Joined: Feb 2000
That would be messing with user settings in their browser. It's a permissions thing, and you will not be able to do it. Resizing the window is annoying enough.
You can only control those chrome bits in a window that your page opens and controls, not the main browser.
Best way to do this, if you must, is to have a generic page with your url and contact information on it and a manual link to the pop-up incase it doesn't arrive or people kill it before it loads thinking it's an ad. Have the real page pop-up in its own window that you can control.
There are other options, notably using DHTML to control the size and float of the page and ignoring the rest of the window, and I recall a chromeless option that worked only in IE, I think, but this all involved a new window or opening the new "windows" inside the main browser with all the chrome.
hth,
Suzanne
The Webmistress posted this at 07:42 — 7th August 2001.
She has: 5,586 posts
Joined: Feb 2001
What do you want to have in this popup? Most people will cloe it probably before the content has opened as they think it's an annoying ad!
akohl posted this at 09:22 — 7th August 2001.
They have: 117 posts
Joined: Feb 2001
Basically, I thought it would be cool to start the site in a small window. But I guess I see that there is really no point to that. so I'm going to leave it.
Thanks for your advice and explanations.
Andy Kohlenberg
Jerusalem, Israel
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.