zoukankan      html  css  js  c++  java
  • ie和firefox浏览器对透明flash的兼容性问题

    < DOCTYPE html PUBLIC -WCDTD XHTML StrictEN httpwwwworgTRxhtmlDTDxhtml-strictdtd>
    ie和firefox浏览器对透明flash的兼容性问题[ 2007-02-05 10:04:28 | 作者: Admin ] 字体大小: | |

    在IE中显示透明:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/
    cabs/flash/swflash.cab#version=6,0,29,0" width="770" height="148">
    <param name="movie" value="swf/top.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="swf/top.swf" quality="high" pluginspage="http://www.ma
    cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="148"></embed>
    </object>

    在FireFox中显示透明:!
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cab
    s/flash/swflash.cab#version=6,0,29,0" width="770" height="148">
    <param name="movie" value="swf/top.swf" />
    <param name="quality" value="high" />
    <embed src="swf/top.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflas
    hplayer" type="application/x-shockwave-flash" width="770" height="148"></embed>
    </object>

    在两种浏览器中都显示透明:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockw
    ave/cabs/flash/swflash.cab#version=6,0,29,0" width="770" height="148">
    <param name="movie" value="swf/top.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="swf/top.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashp
    layer" type="application/x-shockwave-flash" width="770" height="148"></embed>
    </object>

    原来要在Embed标签下加上wmode="transparent”这个属性。

  • 相关阅读:
    图片无缝横向滚动
    MySQL命令小结
    Git初级
    VS2012 创建的entityframework 4.1版本
    IE10 下系统出现Unable to get property 'PageRequestManager' of undefined or null reference错误
    MIME Types
    不兼容的数据类型
    使用Lambda .map函数将入参List转换至其它List
    MySQL中那种数据类型是只有true和false的
    ELK Stack
  • 原文地址:https://www.cnblogs.com/netcorner/p/2912379.html
Copyright © 2011-2022 走看看