I need to make a 3: 4 window, where 3 is 75% of the screen. How could I set the width? For example, if I have a height of 100px and a monitor with a width of 10000000000000 pixels, then I have a window of 75: 100px.
The window.resizeTo function will allow you to resize the window.
IE supports this if your page is the only tab in the window.
Chrome doesn't support this.
You can use screen.width and screen.height to get the screen size