Loading ...
Sorry, an error occurred while loading the content.

Hyperlinks in inline SVG dont work?

Expand Messages
  • apandikow
    Hi, using the anchor tag in SVG works fine for me if the SVG file is included, but when using inline SVG (as in the example below) the hyperlinks do not work
    Message 1 of 1 , Apr 13, 2004
    • 0 Attachment
      Hi, using the anchor tag in SVG works fine for me if the SVG file is
      included, but when using inline SVG (as in the example below) the
      hyperlinks do not work anymore.

      Any ideas?

      /Asmus


      ----- CODE FOLLOWS -----

      <html xmlns:iSvg="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">
      <head>
      <META http-equiv="Content-Type" content="text/html; charset=utf-8">
      <object id="AdobeSVG" classid="clsid:78156a80-c6a1-4bbf-8e6a-
      3cd390eeb4e2"></object>
      <?import namespace="iSvg" implementation="#AdobeSVG"?/>
      </head>
      <body>
      <iSvg:svg width="300" height="300" version="1.1">
      <iSvg:a xlink:href="http://www.google.com" target="_blank">
      <iSvg:rect x="20" y="20" width="250" height="250"
      style="fill:blue;stroke:pink;stroke-width:5;opacity:0.9"/>
      </ivg:a>
      </iSvg:svg>
      </body>
      </html>
    Your message has been successfully submitted and would be delivered to recipients shortly.