Back to Scripts page
Click in the text area below, select all and copy to grab the script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <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" flyOff = new Image tankOff = new Image heliOff = new Image flyOn = new Image tankOn = new Image heliOn = new Image flyOff.src = "images/flyer.gif" tankOff.src = "images/tanks.gif" heliOff.src = "images/helicopter.gif" flyOn.src = "images/flyer2.gif" tankOn.src = "images/tanks2.gif" heliOn.src = "images/helicopter2.gif" } else { flyText = "" tankText = "" bgText = "" heliText = "" flyOff = "" tankOff = "" heliOff = "" flyOn = "" tankOn = "" heliOn = "" document.flyImg = "" document.tankImg = "" document.heliImg = "" document.textField = "" } // 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" alt="Leonardo's Inventions" /><br /> <a href="flyPage.html" onmouseover="document.textField.src=flyText.src;document.flyImg.src=flyOn.src" onmouseout="document.textField.src=bgText.src;document.flyImg.src=flyOff.src"><img src="images/flyer.gif" width="293" height="165" border="0" vspace="20" name="flyImg" alt="Flying Machine" /></a><br /> <a href="tankPage.html" onmouseover="document.textField.src=tankText.src;document.tankImg.src=tankOn.src" onmouseout="document.textField.src=bgText.src;document.tankImg.src=tankOff.src"><img src="images/tanks.gif" width="325" height="92" border="0" name="tankImg" alt="Tank" /></a><br /> <a href="heliPage.html" onmouseover="document.textField.src=heliText.src;document.heliImg.src=heliOn.src" onmouseout="document.textField.src=bgText.src;document.heliImg.src=heliOff.src"><img src="images/helicopter.gif" width="224" height="160" border="0" vspace="20" name="heliImg" alt="Helicopter" /></a> </td> <td> <img src="images/DaVinci.jpg" width="144" height="219" hspace="50"alt="DaVinci" /><br /> <img src="images/bg.gif" width="208" height="27" name="textField" vspace="20" alt="Text Field" /> </td> </tr> </table> </body> </html>
Images:
(Some scripts do not have associated images)