homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

remove toolbars

10+ Year Member

Msg#: 614 posted 12:37 pm on May 1, 2001 (gmt 0)

I'm trying to remove toolbars on the a web that will be viewed on local systems only. I've tried this:

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

after reading one post and it doesn't work. Is there something I'm doing wrong? Is there another script I could be using. This is on a first page and then there's a link to open the web on a new page, but the toolbars don't disappear. I'm at a loss and I need to try to figure this out by tomorrow. Thanks :)



WebmasterWorld Senior Member 10+ Year Member

Msg#: 614 posted 1:49 pm on May 1, 2001 (gmt 0)

this should do the trick.

Just throw this part under your <body> tag:

<script language="JavaScript">
window.status='WHATEVER YOU WANT'

Then wherever you have your links use this line...(replace the Google stuff with your own location info)

<a href="#WHATEVER YOU WANT" onclick="window.open('http://www.google.com','nw','location=no,toolbar=1,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes')">Click here</a>

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