在项目中遇到了一个困惑好久的问题,flash遮住div的问题,今天终于解决了 ,需要的朋友可以参考下
在项目中遇到了一个困惑好久的问题,今天终于解决了。其实解决方法很简单。
直接上代码:
复制代码 代码如下:
<script type="text/javascript" src="https://www.jb51.net/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>params.wmode= "opaque";</span></strong> //处理遮住div的问题,add by javaalpha at 2014-2-10 15:44:51