Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>Nav Bar</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from old browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. page1Count = 0 page2Count = 0 page3Count = 0 pageArray = new Array ("","frame6a.html","frame6b.html","frame6c.html") function setContent(thisPage) { parent.content.document.location.href = pageArray[thisPage] } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <H1>Navigation Bar</H1> <H2> <A HREF="javascript:setContent(1)">Page 1</A><BR> <A HREF="javascript:setContent(2)">Page 2</A><BR> <A HREF="javascript:setContent(3)">Page 3</A> </H2> </BODY> </HTML>