flash遮住div问题的正确解决方法
更新时间:2014年02月27日 17:37:44 作者:
在项目中遇到了一个困惑好久的问题,flash遮住div的问题,今天终于解决了 ,需要的朋友可以参考下
在项目中遇到了一个困惑好久的问题,今天终于解决了。其实解决方法很简单。
直接上代码:
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr = "11.1.0";
// To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
<strong><span style="font-size:24px;color:#ff0000;">params.wmode= "opaque";</span></strong> //处理遮住div的问题,add by javaalpha at 2014-2-10 15:44:51
直接上代码:
复制代码 代码如下:
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr = "11.1.0";
// To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
<strong><span style="font-size:24px;color:#ff0000;">params.wmode= "opaque";</span></strong> //处理遮住div的问题,add by javaalpha at 2014-2-10 15:44:51
相关文章
JS提示:Uncaught SyntaxError: Unexpected token ILLEGAL错误的解决方法
这篇文章主要介绍了JS提示:Uncaught SyntaxError: Unexpected token ILLEGAL错误的解决方法,涉及针对字符串参数的处理方法,需要的朋友可以参考下2016-08-08
最新评论