Home  >  Forum  >  JavaScript
Post New Query

window positions in center



Asked on November 12, 2013
How to set popup window positions in center ?



Replied on December 11, 2013
var leftScreen = (screen.width/2)-(w/2);
var topScreen = (screen.height/2)-(h/2);


Write Answer











©2022 concretepage.com | Privacy Policy | Contact Us