« Previous entry | Next entry » Browse > Snippets
Skip to comments (11)
stupid mouseover code that doesn\'t work
Posted by onyx on Jul 28 2007 @ 03:00 :: 1099 unique visits
I used the code provided by my instructor:<A HREF=""onMouseOver="document.pic1.src='nameofimage1.gif'" onMouseOut="document.pic1.src='nameofimage2.gif'"> <IMG SRC="nameofimage1.gif" BORDER=0 NAME="pic1"> </A>
and just changed the names of the picture files.
<A HREF=""onMouseOver="document.pic1.src='darcystretchedout.gif'"onMouseOut="document.pic1.src='taciacoatsmall.gif'"><IMG SRC="darcystretchedout.gif" BORDER=0 NAME="pic1"></A>
but it won't work for me.
1. On Jul 31 2007 @ 17:32 guest wrote:
try setting id="pic1" on the <img> tag.