Awesome – how to get SVG tooltips working?
-
Love it … but unfortunately none of my tooltips work anymore (defined within the SVG using <title>[tooltip content]</title>). Normally they pop up with a mouseover.
To be honest I’d like to actually target these tooltips from outside the SVG (have them pop up in a separate div), and with this plugin’s “advanced” setting that looks possible. But as a n00b I have no idea how to do that.
Suggestions anyone? See example below for my file text.svg.
How do i get the tooltips (“Tooltip1” and “Tooltip2”) to show up in another div container?Thx in advance!
– Dave<svg id="svg1";> <text id="text1" x="30"; y="30";> <title> Tooltip1 </title> <tspan id="tspan1" x="30"; y="30";>Text1</tspan> </text> <text id="text2" x="30"; y="60";> <title> Tooltip2 </title> <tspan id="tspan2" x="30"; y="60">Text2</tspan> </text> </svg>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Awesome – how to get SVG tooltips working?’ is closed to new replies.