Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Shakespeare's Plays</TITLE> <SCRIPT TYPE="TEXT/JAVASCRIPT" LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers function toggleMenu(currMenu) { if (document.all) { thisMenu = eval("document.all." + currMenu + ".style") if (thisMenu.display == "block") { thisMenu.display = "none" } else { thisMenu.display = "block" } return false } else { return true } } // End hiding script --> </SCRIPT> <STYLE TYPE="TEXT/CSS"> #menu1 {display:none; margin-left:20px} #menu2 {display:none; margin-left:20px} #menu3 {display:none; margin-left:20px} </STYLE> </HEAD> <BODY BGCOLOR=WHITE> <H1>Shakespeare's Plays</H1> <H3> <A HREF="page1.html" onClick="return toggleMenu('menu1')">Comedies</A> </H3> <SPAN ID="menu1"> All's Well That Ends Well<BR> As You Like It<BR> Love's Labour's Lost<BR> The Comedy of Errors </SPAN> <H3> <A HREF="page2.html" onClick="return toggleMenu('menu2')">Tragedies</A> </H3> <SPAN ID="menu2"> Anthony & Cleopatra<BR> Hamlet<BR> Romeo & Juliet </SPAN> <H3> <A HREF="page3.html" onClick="return toggleMenu('menu3')">Histories</A> </H3> <SPAN ID="menu3"> Henry IV, Part 1<BR> Henry IV, Part 2 </SPAN> </BODY> </HTML>