2012-11-20 29 views
0

我有鏈接,在我的圖紙中用href和target參數完成文本。 我可以看到TARGET存在,但仍然點擊鏈接後,儘管目標被設置爲「_blank」,它仍會在當前窗口中打開。我的瀏覽器是目前的Chrome 23.whatever 這是我看到的頁面:Raphael&Href目標

<a style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" xlink:href="http://www.google.com" xlink:target="_blank"> 
<text style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: start; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14pt; line-height: normal; font-family: Arial; opacity: 1;" x="275.8000030517578" y="157.31666564941406" text-anchor="start" font="14pt &quot;Arial&quot;" stroke="none" fill="#0070c0" opacity="1"> 
<tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"> 
This is the link to Google 
</tspan></text></a> 
+0

可能我應該添加xlink:show =「new」而不是目標 – Kokesh

回答

0

這只是target(沒有XLink)雖然有一個XLink:show屬性。

+0

當我查看chrome中開發人員工具的源代碼時,它顯示的是正常的a-href-target,但是當我選擇Edit HTML時,它顯示作爲xlink:目標 – Kokesh

+0

聽起來像Chrome中的錯誤,也許你應該報告它。它是否像Opera或Firefox一樣運行? –

+0

無法在任何地方工作。 – Kokesh