I will create 5 buttons. Example:
Button1's value : 640*480
Button2's value : 1024*600
Button3's value : 1600*900
Button4's value : 800*600
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.
EDIT:
And how can i change windows' position for computer's screen. Third question :) how can i create random number?
resizeTo()
you may want to look atmoveTo(), screen.availWidth, availHeight, availLeft and availTop
to centre the window once you've resized it - wrap it all up into your own customresizeAndCentre()
function. 3. Why is button 4's resolution out of sequence?