Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: howto position a popup window


Message #1 by Jim Clayson <jimc@I...> on Thu, 27 Jun 2002 12:40:08 +0100
That worked.

Thanks!
Jim


-----Original Message-----
From: Simon Martel [mailto:simon.martel@s...]
Sent: 27 June 2002 13:24
To: JavaScript HowTo
Subject: [javascript_howto] Re: howto position a popup window


The solution is underneat. Good luck!
****
function popup_Win(strURL, strTarget, strWinOptions){
  var myWin =3D window.open(strURL, strTarget, strWinOptions);
}

function popupWin(url, hauteur){
        popup_Win( url,'mov','height=3D'+ hauteur
+',width=3D340,top=3D110,left=3D110,scrollbars=3Dno');
}
*****
Le 27/06/2002 7:40, =AB=A0Jim Clayson=A0=BB <jimc@I...> a 
=E9crit=A0:

> Hi,
>
> Can anyone tell me whether or not it is possible to specify where you 
want
a
> popup window to be positioned when it pops up?
>
> I have searched two javascript sites but can't seem to find the 
answer to
> this question.
>
> Thanks
> Jim
>
> __________________________________________________________
>
>
> Jim Clayson
>
>
> Infogain Limited
>
>
> tel: 01628 580600
> fax: 01628 580610
> email: jimc@i... <mailto:jimc@i...>
> web: www.infogain.com <http://www.infogain.com/>
>
>

--
Simon Martel
simon.martel@s...



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20

  Return to Index