topical media & game development

talk show tell print

basic-javascript-appendix-5-ch05-q3.htm / htm

  function mouseOver()
          document.images["myImage"].src = "Img2.gif";
  function mouseOut()
          document.images["myImage"].src = "Img1.gif";
  <A STYLE="cursor : default" HREF="" onclick="return false" NAME="link1" onmouseover="mouseOver()" onmouseout="mouseOut()">
     <IMG SRC="Img1.gif" NAME="myImage">

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.