Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Script to changing radius for SVG circle

Is this a browser bug, or do I need to force redraw?



10:23 pm on Feb 6, 2007 (gmt 0)

10+ Year Member

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...


3:33 pm on Feb 7, 2007 (gmt 0)

10+ Year Member

It's OK, forget that. I was doing something stupid, and I should have been using setAttribute() instead of an equality!

Featured Threads

Hot Threads This Week

Hot Threads This Month