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)
Table of contents 1. Principle of animation funct...
Table of contents Overview Is the extension neces...
In MySQL, you can use the SQL statement rename ta...
When we display long text, we often need to interc...
Page: base: <template> <div class="...
nvm nvm is responsible for managing multiple vers...
Table of contents introduce Example Summarize int...
1 Introduction When designing a database, it is i...
Study plans are easily interrupted and difficult ...
Preface In MySQL, multi-table join query is a ver...
Recently, when I was using C# to make a Web progra...
Colleagues often ask, when deleting files/directo...
sudo configuration file The default configuration...
A jQuery plugin every day - stacked menu, for you...
Table of contents 1. Short circuit judgment 2. Op...