关于点击中国地图省份,弹出窗体描述该省份信息

abcyzq 2009-03-26 03:40:25
如图

比如我点击四川,弹出窗体描述四川省的相关信息,把鼠标放到四川汉字附近,有提示信息,怎么处理?
用ImageButton控件还是撒控件?
...全文
4758 16 打赏 收藏 转发到动态 举报
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
yangzprl 2012-08-17
  • 打赏
  • 举报
回复
我也没有看明白
juanzigirl 2011-07-01
  • 打赏
  • 举报
回复
请问9楼是怎么实现的?
小宏 2009-03-26
  • 打赏
  • 举报
回复
学习了。。。
zzxap 2009-03-26
  • 打赏
  • 举报
回复
在地图上设置好div 。用js控制弹出其它层来显示相应信息

onmouseover事件
tianke3477 2009-03-26
  • 打赏
  • 举报
回复
你只要明白 图上的热点链接 就知道怎么解决这个问题了
fangq 2009-03-26
  • 打赏
  • 举报
回复
这么简单的问题用JS不就搞定了嘛
erytbc 2009-03-26
  • 打赏
  • 举报
回复
不错
abcyzq 2009-03-26
  • 打赏
  • 举报
回复
谢谢7楼,引用你的代码,自己做了下测试,可以达到我要的效果,还有要分的吗?赶紧,要结贴了
abcyzq 2009-03-26
  • 打赏
  • 举报
回复
7楼的这是撒意思啊,
Teng_s2000 2009-03-26
  • 打赏
  • 举报
回复
51ditu 首页的源代码


<map name="Map">
<area shape="rect" coords="73,87,103,104" href="javascript:Go('新疆')">
<area shape="rect" coords="144,125,173,142" href="javascript:Go('青海')">
<area shape="rect" coords="84,158,115,175" href="javascript:Go('西藏')">
<area shape="rect" coords="220,90,257,105" href="javascript:Go('内蒙古')">
<area shape="rect" coords="348,45,389,61" href="javascript:Go('黑龙江')">
<area shape="rect" coords="346,68,371,83" href="javascript:Go('吉林')">
<area shape="rect" coords="323,84,351,100" href="javascript:Go('辽宁')">
<area shape="rect" coords="298,100,326,114" href="javascript:Go('天津')">
<area shape="rect" coords="288,120,314,136" href="javascript:Go('山东')">
<area shape="rect" coords="268,107,295,121" href="javascript:Go('河北')">
<area shape="rect" coords="207,116,235,130" href="javascript:Go('宁夏')">
<area shape="rect" coords="186,162,214,179" href="javascript:Go('四川')">
<area shape="rect" coords="256,142,281,157" href="javascript:Go('河南')">
<area shape="rect" coords="305,144,332,159" href="javascript:Go('江苏')">
<area shape="rect" coords="320,162,342,177" href="javascript:Go('上海')">
<area shape="rect" coords="216,168,243,185" href="javascript:Go('重庆')">
<area shape="rect" coords="250,162,277,177" href="javascript:Go('湖北')">
<area shape="rect" coords="283,161,308,177" href="javascript:Go('安徽')">
<area shape="rect" coords="213,196,239,209" href="javascript:Go('贵州')">
<area shape="rect" coords="243,183,269,198" href="javascript:Go('湖南')">
<area shape="rect" coords="273,185,299,200" href="javascript:Go('江西')">
<area shape="rect" coords="308,177,334,193" href="javascript:Go('浙江')">
<area shape="rect" coords="179,210,204,225" href="javascript:Go('云南')">
<area shape="rect" coords="227,214,252,228" href="javascript:Go('广西')">
<area shape="rect" coords="231,248,257,263" href="javascript:Go('海南')">
<area shape="rect" coords="292,200,319,214" href="javascript:Go('福建')">
<area shape="rect" coords="259,219,287,231" href="javascript:Go('广东')">
<area shape="rect" coords="244,231,270,246" href="javascript:Go('澳门')">
<area shape="rect" coords="276,232,304,248" href="javascript:Go('香港')">
<area shape="rect" coords="311,228,338,243" href="javascript:Go('台湾')">
<area shape="rect" coords="272,90,302,107" href="javascript:Go('北京')">
<area shape="rect" coords="196,130,222,145" href="javascript:Go('甘肃')">
<area shape="rect" coords="246,116,272,130" href="javascript:Go('山西')">
<area shape="rect" coords="224,136,252,151" href="javascript:Go('陕西')">
</map>

jhdxhj 2009-03-26
  • 打赏
  • 举报
回复
ding
ak8800 2009-03-26
  • 打赏
  • 举报
回复
那就用js+div就可以了!
cnidb 2009-03-26
  • 打赏
  • 举报
回复
最简单的方法:
用Dreamweaver在画片上画热点。
热点的连接javascript:window.open(......);
pgameli 2009-03-26
  • 打赏
  • 举报
回复
用热点图加div可以实现这样的效果
abcyzq 2009-03-26
  • 打赏
  • 举报
回复
图片是一张中国地图,上面有很多省份,每个省份有汉字描述该省的名称,我现在要做到如下功能。
1.把鼠标放到汉字附近,有提示信息。
2.点击省份汉字,弹出一个窗体,描述该省份详细信息。
ak8800 2009-03-26
  • 打赏
  • 举报
回复
你的图片也没显示出来啊,如果是bs结构的,可以将信息输出的客户端然后通过div来控制需要显示的信息!

62,267

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧