Today when I was writing a flash advertising code, because the links that come with flash can easily be mistaken for pop-up ads, I made a div layer and put it on top of the flash, so that the links are triggered by a and will not be intercepted. However, I found that flash has always been on the div layer. It turns out that flash needs to add a parameter. The method to place flash under the DIV layer so that flash does not block the floating layer or drop-down menu, and the key parameter to prevent Flash from blocking the floating objects or layers is: wmode=opaque. Here’s how: For IE, add the parameter <param name="wmode" value="opaque" /> in <object></object> For FF, add the parameter wmode="opaque" in <embed /> 123WORDPRESS.COM Use code: XML/HTML CodeCopy content to clipboard
XML/HTML CodeCopy content to clipboard
XML/HTML CodeCopy content to clipboard
XML/HTML CodeCopy content to clipboard
Template variables: $WM, (optional) Enables the use of transparent Flash content, absolute positioning, and layered display features in Internet Explorer 4.0. This tag/attribute is only valid on Windows with the Flash Player ActiveX control. "Window" plays the application in its own rectangular window 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 degrade animation performance. Both "Opaque windowless" and "Transparent windowless" interact with HTML layers, allowing a layer above a SWF file to obscure the application. The difference between the two options is that "Transparent" allows transparency, so if a portion of the SWF file is transparent, the HTML layer below the SWF file can show through that portion, while "opaque" does not. If this property is omitted, the default value is Window. Applicable only to object. |
<<: Some conclusions on developing mobile websites
>>: CSS to achieve the like card effect in the lower right corner of the web page (example code)
Composition inheritance Combination inheritance i...
Table of contents docker system df docker system ...
Use of AES encryption Data transmission encryptio...
1. Why write this article? You must have read a l...
Use Javascript to achieve the countdown effect, f...
1. Introduction Since pictures take up a lot of s...
This article example shares the specific code of ...
When MySQL performs DDL operations such as alter ...
Table of contents Preface Array.prototype.include...
Preface This article will explain how Vue compone...
Brief review: Browser compatibility issues are of...
Nginx uses a fixed number of multi-process models...
Docker is being used in more and more scenarios. ...
Recently, when I was doing a practice project, I ...
Table of contents 1. Import files 2. HTML page 3....