当前位置: 代码迷 >> ASP.NET >> 关于点击中国map省份,弹出窗体描述该省份信息
  详细解决方案

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

热度:4612   发布时间:2013-02-25 00:00:00.0
关于点击中国地图省份,弹出窗体描述该省份信息
如图

比如我点击四川,弹出窗体描述四川省的相关信息,把鼠标放到四川汉字附近,有提示信息,怎么处理?
用ImageButton控件还是撒控件?

------解决方案--------------------------------------------------------
你的图片也没显示出来啊,如果是bs结构的,可以将信息输出的客户端然后通过div来控制需要显示的信息!
------解决方案--------------------------------------------------------
用热点图加div可以实现这样的效果
------解决方案--------------------------------------------------------
最简单的方法:
用Dreamweaver在画片上画热点。
热点的连接javascript:window.open(......);
------解决方案--------------------------------------------------------
那就用js+div就可以了!
------解决方案--------------------------------------------------------
ding
------解决方案--------------------------------------------------------
51ditu 首页的源代码

HTML code
<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>
  相关解决方案