Modify a svg file using jQuery

后端 未结 4 1301
予麋鹿
予麋鹿 2020-11-30 04:48

I have a svg file with some shape and some text. I\'d like to modify the svg at runtime, so that some shape can change color, and some text can change its content.

L

4条回答
  •  遥遥无期
    2020-11-30 05:42

    Well, there's a FANTASTIC library that you can use with jQuery or any other javascript:

    Raphael JS: http://raphaeljs.com/

    Check out the samples, you can do just about anything.

提交回复
热议问题