CODECUBE VENTURES

Javascript window resize trick

Any web designer should know how to do this... the ability to accurately resize your window to any of the major screen resolutions to test your designs.

Just type any of these commands into your browser URL textbox

javascript:resizeTo(640,480)

javascript:resizeTo(800,600)

javascript:resizeTo(1024,768)

Another small trick, is to right click, and choose to add the link to your favorites list. You'll get a warning about the link possibly not being safe, then make sure that the ":" is after the word javascript (it strips it out when I try it for some reason). That way, you'll have it just a click away whenever you need it

Latest post: Digging Up the First Version of CodeCube

See more in the archives