flash遮蓋div iframe問題的解決辦法

2021-08-29 13:01:14 字數 676 閱讀 5559

今天同事遇到了這個問題,看網上說transparent或opaque可以,但是我們卻無法操作flash本身,後來找到了乙個比較全的版本,只是似乎還沒有辦法解決:(

from:[url]

(a) place flash embed script in container (i use swfobject.js)[將flash嵌入指令碼放到乙個div容器中]

(b) add wmode=transparent to flash embed script[增加wmode=transparent 到flash嵌入指令碼]

(c) set container with z-index:-1; [將外層容器的z-index設定為-1]

(d) set tag with style .. position:relative;left:0px;top:0px;z-index:0;

(otherwise firefox does not accept negative z-index)

(e) set floating iframe in container with z-index: 99;[將浮動的iframe在容器中的zindex設定為99]

(f) use css to position flashcontent and htmlcontent containers.[使用css來調整flash容器和html容器的位置]

彈出層被flash遮蓋

這兩天搞了乙個彈出層的小程式,可測試的時候發現總是被網頁中的flash覆蓋。原以為是深度或位置設的不對,網上一查原來是flash的設定問題。下面是我找到的解決方案 在做web開發中可能會遇到flash遮擋頁面中元素的情況,無論怎麼設定flash容器和層的深度 z index 也無濟於事,現有的解決方...

如何不讓flash把層遮蓋住

預設情況下,flash影片是處於最上層的,無法將 置於其上。查閱flash的幫助檔案,發現這樣一段描述 wmode 屬性 引數 值window opaque transparent 模板變數 wm 說明 可選 使您可以使用 internet explorer 4.0 中的透明 flash 內容 絕對...

關於DIV被Flash或表單遮蓋的解決方法

在網頁製作中,經常會遇到div層被flash input select等控制項遮住一部分的現象。這時單單用z index屬性根本毫無作用。以下是幾種解決方法 方法一 對於flash控制項,在中增加屬性或即可。opaque和transparent基本上差不多,只是在某些特殊情況下有點不同。opaque...