SVG support for Internet Explorer 8 and below

前端 未结 2 1152
长发绾君心
长发绾君心 2020-12-07 15:46

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 a

2条回答
  •  死守一世寂寞
    2020-12-07 16:25

    There are two options that will not tie you to specific frameworks (raphael) or complicated solutions (svgweb):

    1. Chrome Frame: if you're going to get an extension, get that one
    2. Server-side rasterization: send your SVG back to the server, inkscape rasterize to png, send it back.

    If you go number 2 (yes it is a crappy option), and want to keep clickable parts and tooltips, you will have to use invisible divs, or labels that are in HTML on top of the rendered svg.

    You can reuse the positioning information from the svg to position those divs in order to avoid overhead for that part.

    The best option probably is to diplomatically encourage them to use a real browser, but then it's not always possible for those who live under the rule of an unskilled IT department ;)

提交回复
热议问题