html - Target "_blank" not opening new window -


i have image map 1 of following entry

<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"> 

updated

i using google chrome , removed coords attribute snippet because long.

upon clicking on area main page goes url instead opening on new page. right way use target=_blank?

your syntax target attribute correct, browsers need not honor it. may interpret opening destination in new tab rather new window, or may ignore attribute. browsers have settings such issues. moreover, opening of new windows may prevented browser plugins (typically designed prevent annoying advertisements).

there’s little can author. might consider opening new window javascript instead, cf. accepted answer target="_blank" not working in firefox?, browsers may more reluctant let pages open new windows way via target.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -