Position an opening window in IE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniele Baroncelli

    Position an opening window in IE

    Hi guys,

    I am trying to find out how to position an opening window in Internet
    Explorer.

    While in Netscape/Mozilla/Firefox exist the options screenX and screenY for
    the open method of the window object, I couldn't find anything similar in
    IE.


    Thanks for any help on this.


    Cheers

    Daniele
  • Martin Honnen

    #2
    Re: Position an opening window in IE



    Daniele Baroncelli wrote:

    [color=blue]
    > I am trying to find out how to position an opening window in Internet
    > Explorer.
    >
    > While in Netscape/Mozilla/Firefox exist the options screenX and screenY for
    > the open method of the window object, I couldn't find anything similar in
    > IE.[/color]

    window.open('wh atever.html', 'windowName',
    'top=200,left=2 00,scrollbars,r esizable')
    works with IE and with Mozilla/Netscape, as for IE see the documentation
    on MSDN:
    <http://msdn.microsoft. com/library/default.asp?url =/workshop/author/dhtml/reference/methods/open_0.asp>

    --

    Martin Honnen

    Comment

    • McKirahan

      #3
      Re: Position an opening window in IE

      "Daniele Baroncelli" <d.baroncelli@k aptus.com> wrote in message
      news:riTGd.8892 0$C94.8941@torn ado.fastwebnet. it...[color=blue]
      > Hi guys,
      >
      > I am trying to find out how to position an opening window in Internet
      > Explorer.
      >
      > While in Netscape/Mozilla/Firefox exist the options screenX and screenY[/color]
      for[color=blue]
      > the open method of the window object, I couldn't find anything similar in
      > IE.
      >
      >
      > Thanks for any help on this.
      >
      >
      > Cheers
      >
      > Daniele[/color]

      <script text="type/javascript">
      moveTo(0,0);
      resizeTo(400,30 0);
      </script>

      -or-

      <body onload="moveTo( 0,0); resizeTo(400,30 0);">


      Comment

      Working...