Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>A Complex Rollover</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers if (document.images) { flyText = new Image tankText = new Image bgText = new Image heliText = new Image flyText.src = "images/fmText.gif" tankText.src = "images/tankText.gif" bgText.src = "images/bg.gif" heliText.src = "images/heliText.gif" } function chgImg(imgField,newImg) { if (document.images) { document[imgField].src= eval(newImg + ".src") } } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR="#EECC99"> <TABLE> <TR VALIGN=TOP> <TD> <IMG SRC="images/leoText.gif" WIDTH=375 HEIGHT=26><BR> <A HREF="flyPage.html" onMouseover="chgImg('textField','flyText')" onMouseout="chgImg('textField','bgText')"><IMG SRC="images/flyer.gif" WIDTH=293 HEIGHT=165 BORDER=0 VSPACE=20></A><BR> <A HREF="tankPage.html" onMouseover="chgImg('textField','tankText')" onMouseout="chgImg('textField','bgText')"><IMG SRC="images/tanks.gif" WIDTH=325 HEIGHT=92 BORDER=0></A><BR> <A HREF="heliPage.html" onMouseover="chgImg('textField','heliText')" onMouseout="chgImg('textField','bgText')"><IMG SRC="images/helicopter.gif" WIDTH=224 HEIGHT=160 BORDER=0 VSPACE=20></A> </TD> <TD> <IMG SRC="images/DaVinci.jpg" WIDTH=144 HEIGHT=219 HSPACE=50><BR> <IMG SRC="images/bg.gif" WIDTH=208 HEIGHT=27 NAME="textField" VSPACE=20> </TD> </TR> </TABLE> </BODY> </HTML>