[6105] in java-interest

home help back first fref pref prev next nref lref last post

Re: javascript - hiding netscape guff

daemon@ATHENA.MIT.EDU (mr.stone)
Tue Mar 19 17:46:15 1996

Date:         Tue, 19 Mar 1996 23:22:35 +0100
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: "mr.stone" <mr.stone@NATION.SE>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

You can always close your self and open yourself in the state you wich...
There is a bug in NS 2.0 that force you to do open twice.


Cheers
MrStone
<SCRIPT LANGUAGE="JavaScript">

function doOpenNew()
{
    self.close();

x=window.open('','PASS','toolbar=no,location=no,directories=no,status=yes,m
enubar=no,scrollbars=no,resizable=no,width=635,height=425');
    x=window.open('document.html','PASS');

}
</SCRIPT>

>ok, so its a java mailing list, BUT....
>
>Does anyone know how to hide all the netscape rubbish on loading a page?
>I want to have a url that when opened hides all the Netscape stuff to give
>me maximum screen real estate.
>
>I know how to do it on opening a NEW window, but then the commands have to
>go into a button, with:
>
>    var newWin = window.open("", "test", "toolbar = no, directories = no,
>                             location = no, status = yes,
>                             menubar = no, scrollbars = no,
>                             resizable = yes, copyhistory = no");
>
>But I need t find commands something like:
>
>   thiswindow.hideLocation();
>
>or
>
>  thiswindow.setproperties("toolbar = no, directories = no ...etc..." );
>
>
>tia for any help, or please point me to another list where Javascript stuff
>can be answered.
>
>dc
>___________________________________________________________________
>
>      /\    dave 'dc' collier
>     /_/\     Symbolic Software, Inc.
>    /_\_ \      dc@SymbolicSoft.com
>   /___/__\       tel (415) 546 1295
>
>         use your Head or lose your Mind!  http://www.BurnCycle.com

home help back first fref pref prev next nref lref last post