Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script 4.2 listing:
<HTML> <HEAD> <TITLE>This is the page to show</TITLE> </HEAD> <FRAMESET COLS="30%,70%"> <FRAME SRC="left2.html" NAME="left" SCROLLING=AUTO> <FRAME SRC="frame2.html" NAME="content" SCROLLING=AUTO> </FRAMESET> </HTML>
Script 4.3 listing:
<HTML> <HEAD> <TITLE>Nav Bar</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <H1>Important info you should always see</H1> </BODY> </HTML>
Script 4.4 listing:
<HTML> <HEAD> <TITLE>Must be in a frame</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers if (top.location == self.location) { top.location.href = "frameset2.html" } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <H1>A page that should always be within a frame</H1> </BODY> </HTML>