Controlling current browser window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joop Kaashoek

    #1

    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?
  • Lasse Reichstein Nielsen

    #2
    Re: Controlling current browser window

    jkaashoek@yahoo .com (Joop Kaashoek) writes:
    [color=blue]
    > 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?[/color]

    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 - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • kaeli

      #3
      Re: Controlling current browser window

      In article <ed7af232.04040 61542.2323a266@ posting.google. com>,
      jkaashoek@yahoo .com enlightened us with...[color=blue]
      > 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?
      >[/color]

      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.



      Comment

      • Grant Wagner

        #4
        Re: Controlling current browser window

        Lasse Reichstein Nielsen wrote:
        [color=blue]
        > jkaashoek@yahoo .com (Joop Kaashoek) writes:
        >[color=green]
        > > 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?[/color]
        >
        > Yes. No browser that I am aware of can change its layout using only
        > Javascript after the window has been opened.
        >
        > /L[/color]

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

        <a href="#"
        onclick="window .open(window.lo cation.href, '_self',
        'menubar=1,tool bar=0');">Remov e chrome on this window</a>

        --
        | Grant Wagner <gwagner@agrico reunited.com>

        * Client-side Javascript and Netscape 4 DOM Reference available at:
        *


        * 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


        Comment

        Working...