亲宝软件园·资讯

展开

flash遮住div问题的正确解决方法

人气:0
在项目中遇到了一个困惑好久的问题,今天终于解决了。其实解决方法很简单。

直接上代码:
复制代码 代码如下:

<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

加载全部内容

相关教程
猜你喜欢
用户评论