I will create 5 buttons. Example:
Button1 value : 640*480 Button2 value : 1024*600 Button3 value : 1600*900 Button4 value : 800*600
If the user clicks the button, I want to resize the browser window. I would like to do this through jQuery, but JavaScript is good too.
EDIT:
And how can I change the position of the window for the computer screen. Third question :) How can I create a random number?
source share