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”这个属性。

  • 相关阅读:
    jvm启动参数调优
    程序员之在plmm面前清新脱俗的装逼
    .gradle文件配置
    fan greatwall
    归档
    关于
    Navicat Premium 15 永久激活版安装教程
    Python+unittest+requests 接口自动化测试框架搭建 完整的框架搭建过程 实战
    通过pycharm使用git和github的步骤(图文详解)
    Ubuntu-18.04.1-live-server-amd64.iso安装全过程
  • 原文地址:https://www.cnblogs.com/netcorner/p/2912379.html
Copyright © 2011-2022 走看看