【发布时间】:2017-10-31 17:33:16
【问题描述】:
我正在处理这个 SVG 图像,jsfiddle
<div id='one'>
items that should appear when hovering over 01(red circle) on the svg image
</div>
<div id='two'>
items that should appear when hovering over 02(green circle) on the svg image
</div>
<div id='three'>
items that should appear when hovering over 03(purple circle) on the svg image
</div>
我需要在将鼠标悬停在相关 SVG 圆圈上时出现 div,并且在将鼠标悬停在圆圈上时应该突出显示该圆圈,
我是 JS 新手,不知道从哪里开始,我寻找了 SVG.js 和 vivus.js 之类的库,但是对于这个小任务来说它们太复杂了,请帮助我,谢谢
【问题讨论】:
标签: javascript html svg