[Javascript] locking popups position

Rodney Myers rodney at aflyingstart.net
Mon Apr 22 14:03:57 CDT 2002


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
>





More information about the Javascript mailing list