<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Nazir,<br>
<br>
i know that you are looking to hide the toolbar, but here is a little
script that i have to hide and unhide any object with an ID in it. it
does for netscape, exploder, and a couple others.<br>
<br>
function blocking(nr)<br>
{<br>
&nbsp;&nbsp;&nbsp; if (document.layers)<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; current = (document.layers[nr].display == 'none') ? 'block' :
'none';<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; document.layers[nr].display = current;<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; else if (document.all)<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; current = (document.all[nr].style.display == 'none') ? 'block'
: 'none';<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; document.all[nr].style.display = current;<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; else if (document.getElementById)<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vista = (document.getElementById(nr).style.display == 'none') ?
'block' : 'none';<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; document.getElementById(nr).style.display = vista;<br>
&nbsp;&nbsp;&nbsp; }<br>
}<br>
<br>
where nr is the ID of the 'object' that you want to hide or not. maybe
in explorer, &nbsp;&nbsp; document.toolbar.display = 'none'&nbsp;&nbsp; &nbsp;&nbsp; would work. just
an idea.<br>
<br>
new to the group, but no noob,<br>
<br>
Thomas<br>
<br>
<br>
<br>
<br>
Nazir Wasim Ahmed wrote:<br>
<blockquote type="cite"
 cite="midJLEJJIAAFKPPLOFAHPJIAEONCFAA.nazirwa@sakinfotech.co.in">
  <pre wrap="">Hi Laurent,

That is exactly my problem.
i need an ie equivalent.

Nazir

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:javascript-bounces@LaTech.edu">javascript-bounces@LaTech.edu</a> 
[<a class="moz-txt-link-freetext" href="mailto:javascript-bounces@LaTech.edu">mailto:javascript-bounces@LaTech.edu</a>]On Behalf Of Muchacho, 
Laurent (TWIi London)
Sent: Thursday, November 27, 2003 4:26 PM
To: '[JavaScript List]'
Subject: RE: [Javascript] Doubt in style sheets


oops I did a spelling mistake is window.toolbar.visible=false
that working on mozillia, netscape 7 and the value is read only 
froma window
you didn't open in netscape4
that is not working on Internet explorer

Laurent


-----Original Message-----
From: Nazir Wasim Ahmed [<a class="moz-txt-link-freetext" href="mailto:nazirwa@sakinfotech.co.in">mailto:nazirwa@sakinfotech.co.in</a>]
Sent: 27 November 2003 06:55
To: [JavaScript List]
Subject: RE: [Javascript] Doubt in style sheets



HI David,

when i give window.toolbar.visible = false
it says object dosen't support this property...
How do i
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">"alter the visibility of the toolbar, but leave the
"object" present."
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">Thanx in advance
Nazir

    </pre>
    <blockquote type="cite">
      <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:javascript-bounces@LaTech.edu">javascript-bounces@LaTech.edu</a>
[<a class="moz-txt-link-freetext" href="mailto:javascript-bounces@LaTech.edu">mailto:javascript-bounces@LaTech.edu</a>]On Behalf Of David Lovering
Sent: Thursday, November 27, 2003 12:23 PM
To: [JavaScript List]
Subject: Re: [Javascript] Doubt in style sheets


Hmmm... that's a bit tricky, as different browsers have different
conventions for it.  In general, once the window is opened only a
protected
script (i.e; a signed script) can alter it.

It is better to simply alter the visibility of the toolbar, but 
      </pre>
    </blockquote>
    <pre wrap="">leave the
    </pre>
    <blockquote type="cite">
      <pre wrap="">"object" present.

-- Dave Lovering

----- Original Message -----
From: "Nazir Wasim Ahmed" <a class="moz-txt-link-rfc2396E" href="mailto:nazirwa@sakinfotech.co.in">&lt;nazirwa@sakinfotech.co.in&gt;</a>
To: "[JavaScript List]" <a class="moz-txt-link-rfc2396E" href="mailto:javascript@LaTech.edu">&lt;javascript@LaTech.edu&gt;</a>
Sent: Wednesday, November 26, 2003 11:38 PM
Subject: RE: [Javascript] Doubt in style sheets


      </pre>
      <blockquote type="cite">
        <pre wrap="">Hello list,

i need to hide the toolbar from an existing window. what is 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">the api call
    </pre>
    <blockquote type="cite">
      <pre wrap="">for
      </pre>
      <blockquote type="cite">
        <pre wrap="">the same

thanx in advance


Nazir

_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>


        </pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>

      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>


DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute 
non-public
information.  It is intended to be conveyed only to the designated
recipient(s) named above.  If you are not an intended recipient of this
message, or have otherwise received it in error, please notify 
the sender by
replying to this message and then delete all copies of it from 
your computer
system.  Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be 
unlawful. The
contents of this communication do not necessarily represent the views of
this company.
_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>

  </pre>
</blockquote>
</body>
</html>