homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Address bar & buttons
How do I get rid of them?

5+ Year Member

Msg#: 575 posted 2:43 pm on Apr 20, 2001 (gmt 0)

I know this is a kind of newbie question but I really need it answering.

A friend of mine has written a program and has done the help in HTML. I said that it would look better if when the help index file opened that the address bar and buttons were not visible in the browser window. I know you can do it because I've seen it done before but unfortunately can't remember where.

I'm using Dreamweaver 3 is there a quick way to do it in that or does it have to be written into the code. Also will it work across browsers and not just on IE?

Thank in advance, Andy.



WebmasterWorld Senior Member mivox us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 575 posted 5:54 pm on Apr 20, 2001 (gmt 0)

It's a bit of javascript you use with an open new window command.... Here's the script I use by default. There's another script floating around the forums somewhere that does the saem thing in a bit less space, but I'm not sure where.

Put this in your document head, replacing the XX with the desired pixel sizes of the new window, and putting yes or no in place of each *:

function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "height=XX, width=XX, toolbar=*, menubar=*, location=*, scrollbars=*, resizable=*");
// -->

Then for the ink you want to pop open the new window, use this:
<a href="javascript:Start('http://URL of help file')">


WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 575 posted 6:40 pm on Apr 20, 2001 (gmt 0)

In mivox's example, notice all the code after "page," . This is called the feature string, and it determines which window features will be present. It works very differently when it is omitted from the argument, or if an empty string is included, or if even one feature parameter is declared.

If you don't hand the open() method any string at all, all the new window's features will be set to their individual default values.

However, if you pass an empty features string, the browser opens a window with all features turned off.

If you use the parameters string to set even one value, then
all the other features are turned off -- you do not need to explicitly say =no or =0

A second important point is make very sure to not include any spaces or line breaks inside this features parameter string. Netscape will choke.

Here's a tutorial about window features that's pretty thorough:
The link takes you to page 4 of a thirteen page tutorial about working with windows.

Now, please excuse me while I climb on my soapbox for a minute ;) In many situations it is a useful courtesy to give a new window a status bar. When a new window sits blank for a while, the visitor gets antsy (the old rule of give them something to see in a maximum of 8 seconds).

When you include a status bar, your visitors can see if things are hanging or just slow to render. Without the status bar, you will lose them more often -- the X that closes the new window is an easy target and most people are quick on trigger.


5+ Year Member

Msg#: 575 posted 8:10 am on Apr 23, 2001 (gmt 0)

Thanks for the help everyone. :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved