For example i will create five button
Button1's value : 640*480
Button2's value : 1024*600
Button3's value : 1600*900
Button4's value : 800*600
And how can i change windows' position for computer's screen. Third question how can i create random number?
Some might allow you to do it if you are actually opening a new windowand have the values specified as the width and height in the third parameter. That's assuming they don't have it overridden to open in a new tab or at their preferred size instead.
Thanks.. How can i move browser's window?