Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Script to changing radius for SVG circle Is this a browser bug, or do I need to force redraw? R1chard msg:3244625 10:23 pm on Feb 6, 2007 (gmt 0) This is similar to my (unresolved) thread in Multimedia, but I hope a bit easier...
So, the problem is, I have an SVG circle:
<circle cx="799" cy="184" r="200" fill="#0066ee" id="cir" />
And I want to make it bigger, via this line
But although the r property seems to be defined ([object SVGAnimatedLength], but it's blank), changing the value like this seems to have no effect on the display. I'm testing with a new version of Opera if that helps...
R1chard msg:3245289 3:33 pm on Feb 7, 2007 (gmt 0)
It's OK, forget that. I was doing something stupid, and I should have been using setAttribute() instead of an equality!