Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] locking popups position


  • From: javascript@xxxxxxxxxx (Rodney Myers)
  • Subject: [Javascript] locking popups position
  • Date: Mon, 22 Apr 2002 20:03:57 +0100

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
>