在項目中遇到了一個困惑好久的問題,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