| http://rsasandbox.appspot.com/beginElement-ex.svg |
Note: If the example animation does not restart after one complete circuit it means that your browser (like Chrome) doesn't yet support the SVG DOM beginElement ( ) method. The animation should restart properly in the Opera browser.
<script type="text/javascript" >
<![CDATA[
function BeginAgain(bubble) {
var bub = SVGDocument.getElementById(bubble);
bub.beginElement();
}
]]>
</script>
...
<animateMotion id="bubble1am1" ... >
...
<animateMotion id="bubble2am1"
begin="bubble1am1.end"
...
onend="BeginAgain('bubble1am1')" >