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

Why does element not work with defs?

Expand Messages
  • brs@ramboll.dk
    Looking at the following simple test code - I have the problem, that the element at the referenced red button does not work. Can anyone tell me why ? I am
    Message 1 of 1 , Mar 30, 2001
    • 0 Attachment
      Looking at the following simple test code - I have the problem, that
      the <a> element at the referenced red button does not work. Can
      anyone tell me why ? I am using the Adobe viewer version 2.0.

      <svg>

      <defs>
      <g id="B1">
      <a xlink:href="http://www.ramboll.dk/ukindex.htm">
      <circle cx="0" cy="0" r="5" style="fill:red" />
      </a>
      </g>
      </defs>

      <use transform="translate(10,10)" xlink:href="#B1"/>

      <a xlink:href="http://www.ramboll.dk/ukindex.htm">
      <circle id="B2" cx="30" cy="10" r="5" style="fill:blue" />
      </a>

      </svg>


      Thanks,
      Brian
    Your message has been successfully submitted and would be delivered to recipients shortly.