日期:2014-05-17  浏览次数:20413 次

又是头疼的兼容性问题
HTML code
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
            <param name="movie" value="/SwfFolder/<%=SWFPath%>">
            <param name="quality" value="high">
            <embed src="/SwfFolder/<%=SWFPath%>" type="application/x-shockwave-flash" style="width: 100%;
                height: 900px"></embed>
        </object>


火狐下正常 IE下一直是页面读取状态 请问是什么原因?
用过这个标签的朋友说说

------解决方案--------------------
把这段代码用js来写,在页面上这段代码的地方
<script type="text/javascript">
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0'> 
")
document.write("<param name='movie' value='/SwfFolder/<%=SWFPath%>'>
");
document.write("<param name='quality' value='high'>
");
document.write("<embed src='/SwfFolder/<%=SWFPath%>' type='application/x-shockwave-flash' style='width: 100%;
height: 900px'></embed></object>");
</script>