我有一个带有以下入口之一的图像地图
<area shape="poly" tooltip="Canada"
onmouseover="setAreaOver(this,'world_canvas','0,0,255','255,0,0','0.5',1,0,0);cvi_tip._show(event);"
onmouseout="setAreaOut(this,'world_canvas',0,0);cvi_tip._hide(event);"
onmousemove="getCoords(event,'map_of_world','map_of_world_6','world',32,371,800,400,1903,2876);cvi_tip._move(event);"
href="http://someurl.com"
target="_blank"
id="map_of_world_6">
已更新
我正在使用Google Chrome浏览器,因为coords
属性太长了,所以我删除了片段中的该属性。
在单击区域时,主页面跳转到URL而不是在新页面打开。这是正确使用target=_blank
的方法吗?