everyone. I want to display a new picture under my original picture when my mouse moves to the specific area of the original picture. and I'm new to HTML and CSS, so I still can not find a way to fix it. I have tried some codes, but I can't combine and together. The original picture is "Cata_all" the image should display below it, is "catabottoff"
<body>
<map src="graph/Cata_all.jpg" name="productmap">
<area shape="rect" coords="5,205,150,250" href="catabottoff.jpg" target="">
</map>
<img src="graph/Cata_all.jpg" usemap="#productmap">
</body>
Another code I also tried is onmouseover:
<table border=0 height="50%" width="50%">
<tr valign="top">
<td width="20%">
<img onmouseout="this.src='graph/Cata_all.jpg'" onmouseover="this.src='graph/catabottoff.jpg'" src="graph/Cata_all.jpg"/>
<map src="graph/Cata_all.jpg" name="productmap">
<area shape="rect" coords="5,205,150,250" href="" >
I'm really appreciate if you can give me some hints. Thank you so much~