rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.29k stars 863 forks source link

SVG object error #120

Closed hussienliban closed 11 years ago

hussienliban commented 11 years ago

When trying to apply it to a svg object an error accords

Chrome console return this line

Uncaught TypeError: Cannot set property 'cur' of undefined, jquery.min.js:3

jsfiddle link : http://jsfiddle.net/Pxw3N/2/


UPDATE:

I've played around with the svg and set it as an background-image to an empty div and works fine

jsfiddle link: http://jsfiddle.net/Pxw3N/4/

but I really want to manipulate the stylesheet of the inner svg document, I would really appreciate if anyone has some input regarding the error I mention above.

Thank you

rstacruz commented 11 years ago

SVG doesn't support CSS transitions, unfortunately. You may need to look at the SMIL standard, but I've no experience on this matter to help.