Jump to content

[SOLVED] Errm...Image map and onmouseover


plutomed

Recommended Posts

Rate this product: <img src="./images/00star.gif" usemap="#Stars1" id="StarRating1" onmouseout="this.src='./images/00star.gif' />
<map name="Stars1" id="Stars1">
	<area coords="1,0,14,0" shape="rect" alt="Poor" onmouseover="alert('Bob')" onclick="" nohref="nohref" />
	<area coords="17,0,30,0" shape="rect" alt="Nothing Special" onmouseover="rating('2','1');" onclick="" nohref="nohref" />
	<area coords="33,0,46,0" shape="rect" alt="OK" onmouseover="rating('3','1');" onclick="" nohref="nohref" />
	<area coords="49,0,62,0" shape="rect" alt="Pretty Cool" onmouseover="rating('4','1');" onclick="" nohref="nohref" />
	<area coords="65,0,78,0" shape="rect" alt="Excellent" onmouseover="rating('5','1');" onclick="" nohref="nohref" />
</map>

 

Can anyone tell me if there is something wrong with that bit of code?

Link to comment
https://forums.phpfreaks.com/topic/156001-solved-errmimage-map-and-onmouseover/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.