Sample Window 3: Source Code
/* Window 3 */
function winThree() {
win3 = open("","Sample3","width=300,height=100");
win3.document.write("<html><title>New Window</title>");
win3.document.write("<body BGCOLOR=#848afd TEXT=#ffffff>JavaScript is a scripting language,<br>")
win3.document.write("for HTML documents<br>");
win3.document.write("developed to extend<br>");
win3.document.write(" the capabilities of a browser.");
win3.document.write("</body></html>");
win3.document.close();
}
<input type='button' name='source2' value='Source'
onClick=open('source3.html',"Source","width=470,height=260,scrollbars=yes") WIDTH=60>