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

A few things about favicon.ico (it’s best to put it in the root directory)

Open any web page: for example, http://www.baidu....

Summary of Linux user groups and permissions

User Groups In Linux, every user must belong to a...

JavaScript Interview: How to implement array flattening method

Table of contents 1 What is array flattening? 2 A...

Detailed explanation of the lock structure in MySQL

Mysql supports 3 types of lock structures Table-l...

How to install golang under linux

Go is an open source programming language that ma...

How to achieve seamless token refresh

Table of contents 1. Demand Method 1 Method 2 Met...

mysql5.7.21 utf8 encoding problem and solution in Mac environment

1. Goal: Change the value of character_set_server...

CocosCreator Getting Started Tutorial: Making Your First Game with TS

Table of contents premise TypeScript vs JavaScrip...

Detailed tutorial on deploying Django project using Docker on centos8

introduction In this article, we will introduce h...

Make your text dance with the marquee attribute in HTML

Syntax: <marquee> …</marquee> Using th...

Manually implement js SMS verification code input box

Preface This article records a common SMS verific...

Example analysis of the impact of MySQL index on sorting

This article uses examples to illustrate the impa...

Solve nginx "504 Gateway Time-out" error

Students who make websites often find that some n...

MySQL common statements for viewing transactions and locks

Some common statements for viewing transactions a...