关于map的一个小问题

sportdog 2004-12-13 11:01:12
<map name="Map" onclick="return GoToPage(this);">
<area shape="POLY" coords="137,58,104,79,84,101,39,125,17,143,33,164,73,187,122,178,134,187,143,165,165,160,177,143,193,127,188,111,158,94,156,75,155,62"
href="queryServicesList.aspx?state=新疆">
<area shape="POLY" coords="427,76,434,60,439,45,454,49,470,59,488,63,498,58,498,74,488,84,479,93,482,103,474,100,455,97,435,86"
href="#">
<area shape="POLY" coords="162,172,151,177,149,193,140,203,136,213,149,229,178,238,189,249,207,233,228,233,243,221,248,203,236,192,190,177"
href="#">
<area shape="POLY" coords="93,199,65,197,46,200,34,222,57,247,89,269,123,281,155,281,178,269,164,250"
href="#">
<area shape="POLY" coords="326,290,316,297,319,318,337,334,358,330,355,303,353,292" href="#">
<area shape="POLY" coords="400,296,384,285,362,292,361,317,369,336,379,341,386,313" href="#">
<area shape="POLY" coords="416,312,400,304,385,336,397,344" href="#">
<area shape="POLY" coords="309,330,303,303,291,301,282,310,265,321,273,337" href="#">
<area shape="POLY" coords="212,304,234,331,249,332,260,329,260,349,258,365,222,373,210,365,206,357,202,338"
href="#">
<area shape="POLY" coords="286,345,325,329,330,348,321,372,295,371,283,360" href="#">
<area shape="POLY" coords="332,373,349,343,366,342,383,353" href="#">
<area shape="POLY" coords="221,167,199,168,175,159,181,143,202,137" href="#">
<area shape="POLY" coords="284,216,264,191,279,192,294,190" href="#">
<area shape="POLY" coords="311,256,284,244,290,229,306,219,313,200,320,214,325,240" href="#">
<area shape="POLY" coords="327,225,323,215,325,196,339,172,348,169,348,187,350,198,349,208,353,212,345,224"
href="#">
<area shape="POLY" coords="337,250,331,234,346,228,357,221,373,231,371,252,372,264" href="#">
<area shape="POLY" coords="376,283,341,282,313,284,323,272,322,255,336,255,360,263" href="#">
<area shape="POLY" coords="305,183,278,168,289,146,321,140,337,142,340,158,328,178" href="#">
<area shape="POLY" coords="" href="#">
<area shape="POLY" coords="363,197,351,188,357,174,368,172,379,176,384,186,373,198" href="#">
<area shape="RECT" coords="361,151,392,170" href="#">
<area shape="RECT" coords="216,253,266,302" href="#">
<area shape="RECT" coords="271,267,309,290" href="#">
<area shape="RECT" coords="424,251,464,273" href="#">
<area shape="RECT" coords="378,260,411,276" href="#">
<area shape="RECT" coords="403,281,431,298" href="#">
<area shape="RECT" coords="355,370,386,383" href="#">
<area shape="RECT" coords="339,386,367,399" href="#">
<area shape="RECT" coords="440,107,471,130" href="#">
<area shape="RECT" coords="408,132,442,151" href="#">
<area shape="RECT" coords="374,201,406,220" href="#">
<area shape="RECT" coords="389,227,423,250" href="#">
<area shape="RECT" coords="394,171,424,189" href="#">
<area shape="POLY" coords="326,406,318,417,294,419,263,407,282,396,315,398" href="#">
</map>
...全文
69 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sportdog 2004-12-13
  • 打赏
  • 举报
回复
我试试!可以了就结帖!
bzscs 2004-12-13
  • 打赏
  • 举报
回复
<area shape="POLY" coords="326,406,318,417,294,419,263,407,282,396,315,398" href="javascript:alert('bzscs')">
sportdog 2004-12-13
  • 打赏
  • 举报
回复
这是一张中国地图,我想点不同的省,传不同的参数到下一个页面,
可area 不支持onclick ,我要用js写,在href中直接写不行!
bzscs 2004-12-13
  • 打赏
  • 举报
回复
function GoToPage(state)
{
window.open("queryServicesList.aspx?state="+escape(state),"bzscs","")
}

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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