Rollover effect with JavaScript

  • Code for zebra.htm
  • Buttons for left2.htm
  • Code for left2.htm


    Zebra.htm

    Code for the HEAD section

    <SCRIPT language="Javascript">
    function musover()
    { document.B.src="zebra.gif" }
    function musud()
    { document.B.src="zebra_t.gif" }
    </SCRIPT>

    Code for the BODY section

    <IMG src="zebra_t.gif" onMouseOver="musover()" onMouseOut="musud()" Name="B" BORDER="0" ALT="">



    Copyright Michael Karbo 2002