Assignment 16 Answer:

This:

Andree Growney

was produced with this code:


 <html>
 <head>
 <SCRIPT type="text/javascript">
    function swap1for2()
      {  document.pic1.src="bubble2.gif" }
    function swap2for1()
      { document.pic1.src="bubble1.gif" }
 </SCRIPT>
 </head>
 <body bgcolor="white">
 <center>
 <h1>Andree Growney </h1>
 <a href="" onMouseOver="swap1for2() "
    onMouseOut="swap2for1()">
 <img src="bubble1.gif" border=0 name="pic1"> </a>
 </body>
 </html>


Ready to go on?

Close this window to return to JavaScript Primer