Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Need Help With Custom Page

Removing Browser Menu Bars

11:23 pm on Apr 23, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 4, 2001
votes: 7

The client has a newsletter sign-up page. I'd like to open it in a new window without the browser menu bars.

I'd also like to have a "close this page" button that just closes the current page, no linking to another page.

I suspect these are pretty simple routines... only problem is I have never needed them before and don't know how to do them.

Can anyone assist with code or a reference?


5:41 am on Apr 24, 2001 (gmt 0)

Senior Member

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

joined:May 26, 2000
votes: 0

Here's a link [developer.netscape.com] to a full description of the javascript new window functionality and features.

If a window was opened by javascript, then that new window document can include this code in the BODY:

<a href="javascript:self.close()">Click Here to Close This Window</a>