Posted By

nicolaspar on 01/19/07


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

basicmagic
vali29


Javascript - Simple popup resize


 / Published in: JavaScript
 

  1. <script language="JavaScript">
  2. var w = 300;
  3. var h = 200;
  4. resizeTo(w, h);
  5. moveTo((screen.width - w)/ 2, (screen.height - h)/ 2);
  6. </script>

Report this snippet  

You need to login to post a comment.