How to do a tooltip on an SVG generated by Raphael

后端 未结 4 1970
时光取名叫无心
时光取名叫无心 2020-12-05 02:55

I\'m doing a bit of a pedagogical exercise, converting XML to SVG with XSLT, Javascript and Raphael. I\'m sure it\'s the hard way...but it\'s educational.

The proble

4条回答
  •  北海茫月
    2020-12-05 03:19

    One way to do this is to use a div tag on top of the Raphael paper. Then use Jquery mousevents along with fadeIn() and fadeOut(). I created an example on jsFiddle. Have a look

提交回复
热议问题