Creating links inside a SVG

I have a big SVG with many paths. 1 of these paths is a link,

<a href="../../san-diego/index.html">	 
  <path class="region"
  d="
...
...
...

I’m using the <object> to display it on my website. When I click on the link in the SVG in the <object> its working, but it seem to open in the <object> and not to the page itself.
How do I get the link to break out of the <object>?

Does this work?
<a href="../../san-diego/index.html" target="_blank">

Or replace target=“_blank” with target=“_top”

1 Like

oh, thanks, I used _top, cause I didn’t want a pop-up window. Thank you

Lucky guess on my part! Glad it worked!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.