Posted By

pckujawa on 08/10/06


Tagged

javascript resize html


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

panatlantica
jonhenshaw


Resize window


 / Published in: JavaScript
 

Put in the head of the html page. Set the dimensions in the parentheses. The first number is the width; the second is the height.

  1. <script type="text/javascript">
  2. self.resizeTo(100,200);
  3. </script>

Report this snippet  

You need to login to post a comment.