Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: pop up window position on page


Message #1 by "Jay Hadley" <lonerjayj@e...> on Fri, 26 Apr 2002 04:38:36
Or even another option is to put the positioning in the features in the call
to window.open(). For example
var popup = window.open(url,name,"left=0,top=0,.......")
----
Weston Renoud

----- Original Message -----
From: "Johnson, Israel" <IJohnson@R...>
To: "javascript" <javascript@p...>
Sent: Friday, April 26, 2002 4:23 AM
Subject: [javascript] RE: pop up window position on page


> in the loading page.... use:
> <script>
> window.moveTo(0,0);
> <script>
> or if using "var popup = window.open(url,features)" to launch your
> page,  use:
>
> popup.moveTo(0,0);
>
> after the window.open(url, features) method.
>
>
> HTH
>
> -----Original Message-----
> From: Jay Hadley [mailto:lonerjayj@e...]
> Sent: Friday, April 26, 2002 12:39 AM
> To: javascript
> Subject: [javascript] pop up window position on page
>
>
> How do I make a pop up window appear in a certain part of the page? IE
> places it upper left and N6 places it middle I want it upper left on both



  Return to Index