Rollover Deconstructed:

In the TITLE, the image sources are declared:

<SCRIPT LANGUAGE="JavaScript">

		R1=new Image;

		R1.src="ON.gif";
	
		F1=new Image;

		F1.src="OFF.gif";

	</SCRIPT>
	</HEAD>
The body section is started, and then a link reference is attached to the rollover statement which calls the two image files:
	<BODY>

	<A HREF="http://janus.uoregon.edu" 

		onMouseOver="Any1.src=R1.src" 

		onMouseOut="Any1.src=F1.src">
For browsers which can't read JavaScript, insert a default image:
<IMG SRC="ON.gif" NAME="Any1" BORDER=0 HEIGHT=40 WIDTH=120 ALIGN=TEXTTOP>

| back to 5 | intro | schedule | books | home |

edited Jan 19, 1997 by nywcheng