dcsimg

Assignment 17: A Possible Answer

This:

<A HREF="http://www.cnn.com"
onMouseOver="document.pic1.src='menu1on.gif', window.status='Oh, Click it!'; return true"
onMouseOut="document.pic1.src='menu1off.gif', window.status='Click to go!'"; return true>
<IMG SRC="menu1off.gif" BORDER=0 NAME="pic1">

 

Gives you this:

     See what I did? I added the window.status command and then text. Since I wanted the effect to occur when the flip occurred, I separated it using only a comma. Then to get the effect of the text changing back, I added "return true".

 

Did You Get It?

 

Back to the Index Page