Tips on how to prevent Flash from blocking HTML div elements_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:36:32
Original
1354 people have browsed it

When I was writing a flash advertising code today, because the links that come with flash can easily be regarded as pop-up ads, I made a div layer and placed it on top of the flash so that the links would be triggered by a and would not be blocked. However, I found that the flash always It is above the div layer. It turns out that flash needs to add a parameter.

The method of placing flash under the DIV layer, so that flash does not block floating layers or drop-down menus, and the key parameters of flash not blocking floating objects or layers: wmode=opaque.

The method is as follows:

For IE, add the parameter
For FF, add the parameter wmode="opaque" in

Script House usage code:

XML/HTML CodeCopy content to clipboard
  1. >  
  2. <html xmlns="http://www.w3.org/1999/xhtml">  
  3. <head>  
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  
  5. <title>22cntitle>  
  6. <style type="text/css">