[Javascript] locking popups position

Greg Krieser greg at krieser.com
Mon Apr 22 13:42:01 CDT 2002


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>

 
The following message was sent by "FERON Matthieu" <FERONMA at cic-i.com> on Mon, 22 Apr 2002 18:22:59 +0200.

> Hello all,
> is there a way to open a popup always at the same place ?
> thanks.
> Matthieu Féron
> mferon at adeuza.fr
> http://ffwnet.phpnet.org
> 
> 
> 



More information about the Javascript mailing list