在图片上点击鼠标时,如何确定鼠标是位于图片上哪个区域 sub imagebutton(s as object,e as imageclickeventargs) e.x返回的值是你的坐标end sub 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private imgbtn1_Click(object sender, ImageClickEventArgs e){int x=e.X;int y=e.Y;} 可以用FireWork中的hotspot,slice来实现 <table> <tr> <td> <div align="center"> <img src="/img/emap.gif" width="166" height="92" emap="#Map" border="0"> <map name="Map"> <area shape="poly" coords="12,18,39,19,55,33,73,30,94,24,110,22,114,15,105,12,104,2,24,2,15,6,11,12" href="/index.htm"> <area shape="poly" coords="54,33,55,42,70,43,70,34" href="../TabControl/index.htm"> <area shape="poly" coords="72,34,111,23,128,26,137,22,152,18,151,25,138,34,120,40,116,49,120,59,113,65,99,64" href="/index.htm"> <area shape="poly" coords="12,21,12,30,15,40,14,52,28,56,35,52,38,43,50,43,51,31,35,21" href="/index.htm"> </map> </div> </td> </tr> </table> 那个有微软讲师徐栋的Email啊 就是那个讲wf开发实践的? 怎样控制用户登录次数超过三次,禁用该用户? asp.net中怎么计算会员在线时间 高手进!读取CSV文件问题!在线等!! 新手求助,网站管理工具无法创建新用户 javascript问题! 求助:用vs.net开发asp.net新建项目时提示“无法与服务器建立连接” 进程回收会造成Session丢失吗? 安装ScrewTurn维基(SQL服务器) 关于遮挡层? ◆◆◆密码框的状态如何保持!!!急,多谢 如何安装quickstart的示例数据库?
{
int x=e.X;
int y=e.Y;
}
来实现
<tr>
<td>
<div align="center">
<img src="/img/emap.gif" width="166" height="92" emap="#Map" border="0">
<map name="Map">
<area shape="poly" coords="12,18,39,19,55,33,73,30,94,24,110,22,114,15,105,12,104,2,24,2,15,6,11,12" href="/index.htm">
<area shape="poly" coords="54,33,55,42,70,43,70,34" href="../TabControl/index.htm">
<area shape="poly" coords="72,34,111,23,128,26,137,22,152,18,151,25,138,34,120,40,116,49,120,59,113,65,99,64" href="/index.htm">
<area shape="poly" coords="12,21,12,30,15,40,14,52,28,56,35,52,38,43,50,43,51,31,35,21" href="/index.htm">
</map>
</div>
</td>
</tr>
</table>