对 Internet Explorer 8 及更低版本的 SVG 支持 [英] SVG support for Internet Explorer 8 and below

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

问题描述

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

我认为它使用 SVG 来渲染所有内容;是否有一些 JavaScript 或技巧可以使 IE8 及以下支持它?我的动画在 Internet Explorer 9 上运行良好.

谢谢!

解决方案

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

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.

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

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