plutomed Posted April 28, 2009 Share Posted April 28, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/156001-solved-errmimage-map-and-onmouseover/ Share on other sites More sharing options...
plutomed Posted April 28, 2009 Author Share Posted April 28, 2009 Sorted...Used the co-ordinates part wrong. Quote Link to comment https://forums.phpfreaks.com/topic/156001-solved-errmimage-map-and-onmouseover/#findComment-821314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.