<img src="" width="297" height="400" border="0" usemap="#Map">
<map name="Map">
<area shape="poly" coords="91,20,140,16,149,49,120,73,80,55" href="#">
<area shape="poly" coords="78,204,117,207,92,247" href="#">
<area shape="poly" coords="149,253,149,253,212,216,174,141" href="#">
</map>以上是用dreamweaver做的,也就是图片热点。还有一种方法就是用flash来完成,复杂了点,不是三言两语就说的清的,你在网上搜一下应该比较多。。
<map name="Map">
<area shape="poly" coords="91,20,140,16,149,49,120,73,80,55" href="#">
<area shape="poly" coords="78,204,117,207,92,247" href="#">
<area shape="poly" coords="149,253,149,253,212,216,174,141" href="#">
</map>以上是用dreamweaver做的,也就是图片热点。还有一种方法就是用flash来完成,复杂了点,不是三言两语就说的清的,你在网上搜一下应该比较多。。
<input name="Submit" type="image" value="Submit" src="sdds.gif">
</form>
//要点是type="image" 和src="sdds.gif">
<form action="<?=$_SERVER["PHP_SELF"]?>" method="post">
<input src="php/myimages/contribute_logo.gif" type="image" name="area">
</form>
<?php
if(isset($_POST["area_x"])){
echo"横坐标是".$_POST["area_x"];
}
if(isset($_POST["area_y"])){
echo" 纵坐标是".$_POST["area_y"];
}
?>