Targets in a SVG not working

I dont understand how I can get the targets inside the SVG to behave like the ones not in the SVG

http://stevenh.fatcow.com/test/index.html

n a target is clicked, the position of the slider should move, but its only happening on the targets outside the SVG

Hi there lurtnowski,

try changing this…

<a href="#rack_57"><g class="rack"><rect...    ...</a>
<a href="#rack_58"><g class="rack"><rect...    ...</a>
<a href="#rack_59"><g class="rack"><rect...    ...</a>
<a href="#rack_60"><g class="rack"><rect...    ...</a>

…to this…

<a xlink:href="#rack_57"><g class="rack"><rect...    ...</a>
<a xlink:href="#rack_58"><g class="rack"><rect...    ...</a>
<a xlink:href="#rack_59"><g class="rack"><rect...    ...</a>
<a xlink:href="#rack_60"><g class="rack"><rect...    ...</a>

coothead

1 Like

didn’t work, the color changed though