开发者

flash video covering JQueryUI model dialog

开发者 https://www.devze.com 2022-12-28 08:07 出处:网络
I have a site with a flash SWF on the home page. I have a login dialog that is displayed using the jquery ui modal. The modal dialog is being covered by the SWF movie when it opens. I tried setting th

I have a site with a flash SWF on the home page. I have a login dialog that is displayed using the jquery ui modal. The modal dialog is being covered by the SWF movie when it opens. I tried setting the z-index etc but nothing seems to sto开发者_JS百科p the SWF from covering the log in.

Is there any way to force the SWF movie to the background?

The SWF uses src="support/AC_RunActiveContent.js" if that helps isolate the version.


Hi use this code in your html and embed

<PARAM NAME=wmode VALUE=transparent> 

find the embed and add this

wmode="transparent"


I believe that, at least on some browsers, the flash applet will always appear above everything else on the page. It's probably best to not assume you can display content over it.


You can fix this by embedding the SWF in the page with a special tag.

I believe it is wmode=opaque and you add this to the embed tag. (You would add a similar param to the object tag.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号