Back to Scripts page
Click in the text area below, select all and copy to grab the script
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>Parent Window</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers newWindow = window.open("cpanel.html", "newWin", "width=225,height=200") // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR="WHITE"> <CENTER> <H1>JavaScript for the World Wide Web, 4th Edition</H1> <H2>by Tom Negrino and Dori Smith</H2> <IMG SRC="js4-sm.jpg" WIDTH="108" HEIGHT="140" ALT="4e book cover"> </CENTER> </BODY> </HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>Child Window</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers function updateParent(newURL) { opener.document.location = newURL } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR="WHITE"> <CENTER> <H1>Control Panel</H1> <H3><A HREF="javascript:updateParent('toc.html')">Table of Contents</A><BR> <A HREF="javascript:updateParent('sample.html')">Sample Chapter</A><BR> <A HREF="javascript:updateParent('about.html')">About the Authors</A><BR> <A HREF="javascript:updateParent('buy.html')">Buy the book!</A></H3> </CENTER> </BODY> </HTML>
Images: (Some scripts do not have associated images)