前端經驗--在圖片上點擊某位置觸發事件

<table width="1000" border="0" cellspacing="0" cellpadding="0">html

  <tr>spa

    <td><img src="<%=request.getContextPath() %>/images/gu05.jpg" width="1349" height="696" border="0" usemap="#Map" /></td>htm

  </tr>ci

</table>get


<map name="Map" id="Map">table

  <area shape="rect" coords="1103,409,1410,650" href="#" onclick="MM_openBrWindow('lou.html','','width=807,height=546')" />cli

  <area shape="rect" coords="372,187,1057,574" href="<%=request.getContextPath() %>/quyu.html" />request

  <area shape="rect" coords="837,57,886,107" href="<%=request.getContextPath() %>/quyu.html" />map

</map>im

相關文章
相關標籤/搜索