Follow

Say I've got an SVG with embedded css to animate some of the bit. Is there a reasonable cross-browser way, when it's included on a page (NOT inline), FROM the including page, to toggle the animation on and off (eg, add/remove a class from the <g> or call an embedded js function or something)? Googling has turned up several answers that don't actually work, and nothing that does.

Sign in to participate in the conversation
The Clacks

Welcome to The Clacks

Named after the transcontinental communications network from Terry Pratchett's Discworld.

Neither Deluge Nor Ice Storm Nor The Black Silence Of The Netherhells Shall Stay These Messengers About Their Sacred Business. Do Not Ask Us About Sabre-Tooth Tigers, Tar Pits, Big Green Things With Teeth, Or The Goddess Czol.