Notes on Rollover
The event used is: onMouseOver and
onMouseOut
The <SCRIPT> tag is in located in the head so the browser begins processing the script beforedisplaying the content of the document. This allows the browser to load both arrows into memory.
var blueArrow = new Image tells the
interpreter to create a new object
blueArrowsrc = bluearrow.gif tells the interpreter that the object will
contain the
graphic image stored in the bluearow.gif
The second line serve a similar function
var blueArrow = new Image tells the
interpreter to create a new object
blueArrowsrc = bluearrow.gif tells the interpreter that the object will
contain the
graphic image stored in the bluearow.gif