Re: SVG animateTransform does not start

"[email protected]" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
--- In [email protected], "wenxin1308" <wenxin1308@...> wrote:
>
> The animateTransform tag won't work (cannot start the animation) if the
> SVG isn't appended to the document with the window onload event.
> 
> Example: http://jsfiddle.net/r4WEh/ <http://jsfiddle.net/r4WEh/>  vs
> http://jsfiddle.net/r4WEh/1/ <http://jsfiddle.net/r4WEh/1/>
> 
> The only difference being:
> init();
> 
> vs
> window.onclick = init;
> 
> In the first one the svg is added to the dom with the window onload
> event. In the second one the svg is added to the dom on a mouseclick
> event.
> 
> Any help will be appreciated!
> 

Could it be that you only work with Webkit browsers?  I don't see a problem with Firefox and Opera.

Thomas W.



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.