Reputation: 84683
I have a page with an object tag that contains a SVG. Is there an easy method to make it clickable (in order to show a larger version in a popup when clicked)?
Upvotes: 2
Views: 859
Reputation: 3674
You have to put onclick="doSth()" inside the <svg> tag.
onclick="doSth()"
<svg>
Upvotes: 3