title: Javascript set browser window size
body: <p>What is the best way to set the size of the browser window when the page loads?
  I think this can be done in JavaScript. Please explain. Here is my code that is not working!</p>
  
  <pre><code>&lt;html&gt;
  &lt;body onload="window.resizeTo(640,480)"&gt;
  &lt;video src="rushmore.mp4" controls="controls"&gt;
  your browser does not support the video tag
  &lt;/video&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>