Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Let's open a big window!</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers sWidth = 0 sHeight = 0 if (navigator.appName == "Netscape" && navigator.javaEnabled()) { sWidth = java.awt.Toolkit.getDefaultToolkit().getScreenSize().width sHeight = java.awt.Toolkit.getDefaultToolkit().getScreenSize().height } if (sWidth == 0 || sHeight == 0) { sWidth = 640 sHeight = 480 } document.writeln("<H1>Your screen dimensions are: " + sWidth + " x " + sHeight + ".<\/H1>") newWin = window.open("","newWin","width=" + sWidth + ",height=" + sHeight) // End hiding script from old browsers --> </SCRIPT> </BODY> </HTML>