The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Possible to do an in-page link from embedded SVG to HTML anchor?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #250742

    I have an SVG file embedded in a page using <object>. I’d like to add links to the SVG so that clicking will jump the reader to an anchor further down the page. I’ve tried variations of this:

    <a target="_parent" xlink:href="#anchor">Jump</a>

    But everything I try either links to the SVG file itself or forces a reload of the whole page (and still doesn’t jump the page to my link).

    Does anyone know the correct way to do this?


    Create the link as you normally would and put the SVG inside it.


    Thanks, but what I have is a single SVG file with multiple elements I want to link.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design’ is closed to new topics and replies.