Setting z-index property for flash overlay popup layer in web design does not work

Setting z-index property for flash overlay popup layer in web design does not work
By default, Flash will always be displayed at the top level of the page, which means that if there are some DHTML layers on the page, these layers will be covered by Flash. Even setting the z-index property does not help. If you need some LightBox popups, Flash on the page might make the effect ugly.

Adobe's technical knowledge base provides a solution:

Three places to look

①Add the wmode parameter to the <object> tag: <param name="wmode" value="transparent">;
② If there is an <embed> tag, add a similar parameter to the <embed> tag: wmode="transparent";
③ In order to solve the problem that [when the mouse moves to the FLASH in the web page, an outer frame will appear, prompting "Click to activate this control"], we often use the AC_FL_RunContent() function that comes with DM to insert flash. If you use this function, you must also add the wmode attribute definition to its parameters, as follows:

Copy code
The code is as follows:

<script type="text/javascript">
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','220','src','headmenu','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','headmenu','wmode','transparent' ); //end AC code
</script>

<<:  Detailed explanation of the difference between the default value of the CSS attribute width: auto and width: 100%

>>:  Summary of some HTML code writing style suggestions

Recommend

Detailed explanation of mysql permissions and indexes

mysql permissions and indexes The highest user of...

Forever+nginx deployment method example of Node site

I recently bought the cheapest Tencent cloud serv...

Example of setting up a whitelist in Nginx using the geo module

Original configuration: http { ...... limit_conn_...

Native Js implementation of calendar widget

This article example shares the specific code of ...

Where is mysql data stored?

MySQL database storage location: 1. If MySQL uses...

Detailed explanation of HTML basic tags and structures

1. HTML Overview 1.HTML: Hypertext Markup Languag...

A brief discussion on several ways to pass parameters in react routing

The first parameter passing method is dynamic rou...

A super detailed Vue-Router step-by-step tutorial

Table of contents 1. router-view 2. router-link 3...

Detailed explanation of keepAlive usage in Vue front-end development

Table of contents Preface keep-avlive hook functi...

MySQL should never write update statements like this

Table of contents Preface cause Phenomenon why? A...