开发者

drop down menu over a flash file

I am using a drop down menu, with all its code written in .js file. I have a flash on my website. The drop 开发者_JAVA百科down menu shows more content when you hover on top of any category, but this additional content is hiding behind the flash file, the flash file is over lapping the drop down menu content.

how can i fix this?


Set the window mode (wmode) of your flash file to opaque. If you're dealing with absolute positioning, make sure the z-index it higher for your menu (probably already is if it's a pre-made dropdown).

Like:

swfobject:

swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0","expressInstall.swf", {}, {wmode: 'opaque'});

or

<param name="wmode" value="opaque">

in a typical definition.


Thanks Dan,

i actually found the solution and came back to answer my own question so that someone else can get the solution if they happened to face the same problem.

i just added "'wmode', 'transparent'" in the AC_FL_RunContent of the flash file and it worked just fine.

Thanks :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜