senthilporunan / jRate

Generate SVG based Rating with various customized fancy features. More information @ www.toolitup.com
http://www.toolitup.com/jRate.html
MIT License
66 stars 45 forks source link

jRate not working in combination with default shapes and base-Tag #29

Open asdf09876 opened 8 years ago

asdf09876 commented 8 years ago

In our case, we are using the shape STAR and the html base-tag is set. SVG cannot handle the internal reference (fill: url) to an id. you have to set an absolute url.

We've fixed it with: url('+document.location.href+"#"+r+"_grad"+n+") This fix only works for us, because we does not have url with internal links.