2010-08-18 80 views

回答

3

如果你發現你的頁面不ASV工作,並且正在使用Chrome(它似乎是),我會建議您改爲使用Google Chrome Frame。要使用它,安裝和下面的元標記添加到頁面的頭:

<meta http-equiv="X-UA-Compatible" content="chrome=1"> 
2

IE不支持SVG(前9所有版本) IE 9 ** *將支持SVG,但是到那時,你可以找到一個plugin for your IE

+0

即使有插件在它不起作用 – 2010-08-18 16:20:06

+0

可能已編程相關。如果沒有,它將被移到超級用戶,不用擔心。見例如這:http://stackoverflow.com/questions/1427051/how-to-make-svg-work-with-ie – Piskvor 2010-08-18 21:23:43

0

Web應用程序需要類似這樣的標記:低於9版

<meta http-equiv="X-UA-Compatible" content="IE=9" /> 
0

IE不支持SVG組件,IE 8和下方支撐VML而是使SVG在最近版本的IE瀏覽器的工作,你可以在你的HTML文件的頭部輸入以下代碼

<meta http-equiv="X-UA-Compatible" content="chrome=1"> 
<!--[if IE]> 
<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> 

<style> 
.chromeFrameInstallDefaultStyle { 
    position:fixed; 
    overflow:auto; 
    width: 800px; /* default is 800px */ 
    height: 80%; /* default is 800px */ 
    border: 5px solid blue; 
    right:100px; 
    bottom:100px; 
    z-index: 99999 !important; 
} 
</style> 

<div id="prompt"> 
    <!-- if IE without GCF, prompt goes here --> 
</div> 

<script> 
    // The conditional ensures that this code will only execute in IE, 
    // Therefore we can use the IE-specific attachEvent without worry 
    window.attachEvent("onload", function() { 
     CFInstall.check({ 
      mode: "inline", // the default 
      node: "prompt" 
     }); 
    }); 
</script> 
<![endif]--> 

這將要求用戶在IE瀏覽器安裝谷歌框架。只需要幾分鐘。之後,所有html5組件以及SVG組件都可以使用。 「大多數」