SoFunction
Updated on 2025-04-14

Solve the problem that Ajax hover effect cannot block FLASH

In the ModalPopupExtender hover, to protect the background from being clicked, so add the following styles. In FF and IE, the background except hover can be displayed as gray.
Copy the codeThe code is as follows:

.backgroundCss
{
background-color:Gray;
filter:alpha(opacity=80);
opacity:0.8;
}

Add to the HTML <object> displayed in FLASH:
<param name="wmode" value="opaque" />
You can place FLASH on the bottom layer.
What if FLASH is based on SWFObject in js scripts? You can write it as:
("wmode", "opaque");
Their effects are the same, so that FLASH can be covered by other layers or masking effects. .