Home >Web Front-end >HTML Tutorial >div layer covers flash (compatible browser)_html/css_WEB-ITnose

div layer covers flash (compatible browser)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:071202browse

Today I tested the interaction between the div layer and flash, and found that the div layer was always covered by the flash layer. After searching on Baidu for a while, I was told to add a It worked. After I added it, the problem was solved in IE, but there seemed to be no response in FF. Later I found out that the codes added in IE and FF were different, as follows:

Available under IE browser

Available under firefox

About wmode attribute information:

(optional) Allow Internet Explorer Transparent Flash content, absolute positioning, and layered display capabilities in 4.0. This tag/property is only valid on Windows with the Flash Player ActiveX control.

"Window" uses the video's own rectangular window to play the application on the Web page. "Window" indicates that this Flash application has no interaction with the HTML layer and is always on top.

"Opaque" causes the application to hide everything behind it on the page.

"Transparent" causes the background of the HTML page to show through any transparent parts of the application and may reduce animation performance.

Both "Opaque windowless" and "Transparent windowless" can interact with HTML layers, allowing the layer above the SWF file to shadow the application. The difference between the two options is that "Transparent" allows transparency, so if a part of the SWF file is transparent, the HTML layer underneath the SWF file can show through that part, while "opaque" does not. .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn