center

by RameshKumar 2008-05-19 10:00:20

var wid = "800";
var hei = "900";
var popwid = "400";
var pophei = "450";
var leftPos = (wid-popwid)/2;
var topPos = (hei-pophei)/2;
window.open('popup','width=' + popwid + ',height='+pophei+',top='+topPos+','left='+leftPos);

Tagged in:

6670
like
2
dislike
2
mail
flag

You must LOGIN to add comments