<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled</title> </head> <body> <IMG NAME="banner" SRC="car.gif" WIDTH=800 HEIGHT=600 BORDER=0 ALT="" USEMAP="bannermap"> <MAP NAME="bannermap"> <AREA SHAPE="rect" ALT="" COORDS="0,0 600,600" HREF="next.html" ALT="" ONMOUSEOVER="changeImages('banner', 'car(1).gif'); return true;" ONMOUSEOUT="changeImages('banner', 'car.gif'); return true;"> </MAP> </body> </html> HTML: Can anyone figure out why the above doesn't work. When mouseover the second image is not displayed. Thanks Mike.
There should be a JavsScript function in the HEAD section to be called when the mouse passes over the image. Without that function changing the picture the mouseover won't work.
Wait, does this only show another image on :hover or can users click and drag (the title of the thread does say "puzzle")? If it's ONLY showing a different image on mouseover, there's no need for Javascript at all. What's this thing supposed to do? (link to similar site would be nice).