[Javascript] locking popups position

FERON Matthieu FERONMA at cic-i.com
Tue Apr 23 02:10:39 CDT 2002


thanks you all !
and shame on me for such a stupid question ! ;-)

-----Message d'origine-----
De : Rodney Myers [mailto:rodney at aflyingstart.net]
Envoyé : lundi 22 avril 2002 21:04
À : javascript at LaTech.edu
Objet : Re: [Javascript] locking popups position


For Netscape you also need screenX and screenY as in
top=300,left=300,screenX=300,screenY=300

Rodney

Greg Krieser wrote:

> Are you looking for the left and top commands?  See code below.
>
> <script language='JavaScript'>
> <!--
> function openindex()
>     {
>        window.open('popup.html', 'newwin', 'height=250,width=250,toolbar=no,scrollbars=no,menubar=no,left=300,top=300');
>     }
> // -->
> </SCRIPT>
>
>
> > Hello all,
> > is there a way to open a popup always at the same place ?
> > thanks.
> > Matthieu Féron
>


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list