且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

对 Internet Explorer 8 及更低版本的 SVG 支持

更新时间:2023-12-04 13:36:22

虽然没有完美的选择,但有几个选择:

1.) Adob​​e 有一个适用于 IE8 的 SVG 插件 http://www.iegallery.com/en/addons/detail.aspx?id=444

2.) Raphael JavaScript 框架允许矢量图形跨浏览器 - http://raphaeljs.com/>

3.) 然后是开源项目:http://code.google.com/p/svg2vml/http://code.google.com/p/svgweb/

4.) IE8 及以下可以选择显示 Flash.

5.) IE8 及以下可以选择优雅地降级并显示静态图像代替动画.

根据您制作动画的原因 - 我会推荐 4 或 5.

I created animation in flash and converted it into HTML5 using Swiffy.

I think it's using SVG to render all of it; is there some JavaScript or a trick to make IE8 and below support it? My animation is working well with Internet Explorer 9.

Thanks!

While no option is perfect, there are a few choices:

1.) Adobe has a SVG plugin for IE8 http://www.iegallery.com/en/addons/detail.aspx?id=444

2.) The Raphael JavaScript Framework allows vector graphics cross browser - http://raphaeljs.com/

3.) Then there are the Open Source projects: http://code.google.com/p/svg2vml/ and http://code.google.com/p/svgweb/

4.) There is the option to display flash for IE8 and below.

5.) There is the option to gracefully degrade for IE8 and below and show a static image in place of the animation.

Based on your reason for the animation - I would recomend 4 or 5.