On Sep 25, 11:34 pm, Boris Zbarsky <
[hidden email]> wrote:
> Dan Rumney wrote:
> > What I'd like to be able to do is determine whether an SVG animation
> > element is supported and, if it is, use it. If it isn't, I can fall
> > back to JS animation.
>
> hasFeature() ?
>
> -Boris
Yes, I agree with Boris, hasFeature() and check for SMIL support. You
can even install the FakeSmile JS library so that you only have to
code your SMIL and it will (basically) work in multiple browsers (with
fallback to the JS library for those browsers not supporting SMIL).
Regards,
Jeff
_______________________________________________
dev-tech-svg mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-svg