469,579 Members | 1,102 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

Controlling current browser window

Just confirming, it looks like an Internet Explorer browser window can
not be manipulated by JavaScript to hide its menu bar etc, is this
correct?
Jul 23 '05 #1
3 1327
jk*******@yahoo.com (Joop Kaashoek) writes:
Just confirming, it looks like an Internet Explorer browser window can
not be manipulated by JavaScript to hide its menu bar etc, is this
correct?


Yes. No browser that I am aware of can change its layout using only
Javascript after the window has been opened.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #2
In article <ed**************************@posting.google.com >,
jk*******@yahoo.com enlightened us with...
Just confirming, it looks like an Internet Explorer browser window can
not be manipulated by JavaScript to hide its menu bar etc, is this
correct?


Not in a normal internet application, no. You might be able to if you
use an HTA, but those are really only for intranet and CD applications.

--
--
~kaeli~
Condoms should be used on every conceivable occasion.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
Lasse Reichstein Nielsen wrote:
jk*******@yahoo.com (Joop Kaashoek) writes:
Just confirming, it looks like an Internet Explorer browser window can
not be manipulated by JavaScript to hide its menu bar etc, is this
correct?


Yes. No browser that I am aware of can change its layout using only
Javascript after the window has been opened.

/L


Just as a curiousity, the following works in Netscape Communicator 4.78:

<a href="#"
onclick="window.open(window.location.href, '_self',
'menubar=1,toolbar=0');">Remove chrome on this window</a>

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.