Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Awesome – how to get SVG tooltips working?

$
0
0

Replies: 1

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>
  <text id="text1">
    <title>
      Tooltip1
    </title>
    <tspan>Text1</tspan>
  </text>
  <text id="text2">
    <title>
      Tooltip2
    </title>
    <tspan>Text2</tspan>
  <text>
</svg>
  • This topic was modified 55 minutes ago by lullabyman.

Viewing all articles
Browse latest Browse all 59525

Trending Articles