title: Is it possible to change window size with JQuery or JavaScript?
body: <p>I will create 5 buttons.
  Example:</p>
  
  <pre><code>Button1's value : 640*480
  Button2's value : 1024*600
  Button3's value : 1600*900
  Button4's value : 800*600
  </code></pre>
  
  <p>If the user clicks a button, I want it to change the browser window's size. I would like to do this via JQuery but JavaScript is fine too.</p>
  
  <p>EDIT:</p>
  
  <p>And how can i change windows' position for computer's screen.
  Third question :) how can i create random number?</p>