SVG支持Internet Explorer 8及以下版本 [英] SVG support for Internet Explorer 8 and below

查看:590
本文介绍了SVG支持Internet Explorer 8及以下版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Flash中创建了动画,并使用 Swiffy 将其转换为HTML5。

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

我想使用SVG来渲染它;有没有一些JavaScript或者技巧来使IE8和以下的支持呢?我的动画在Internet Explorer 9中运行良好。

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.

谢谢!

推荐答案

p>虽然没有选项是完美的,但有几个选择:

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

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

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

2。)Raphael JavaScript Framework允许向量图形跨浏览器 - http://raphaeljs.com/

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

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

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

4。)有一个选项可以显示IE8及以下的Flash。

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

5。有一个选项,适度降级为IE8及以下,并显示一个静态图像代替动画。

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

根据你的动画原因 - 我会推荐4或5。

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

这篇关于SVG支持Internet Explorer 8及以下版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆