This article mainly introduces detailed examples of html element occlusion flash. For more information, see
The Code is as follows:
Wmode parameters:
Transparent mode: the z-index control level is available.
Opaque mode: z-index control level is available
Window mode: The flash level is above the core display window of the browser. flash will cover html
Scenario 1 (the wmode parameter of flash can be modified)
Modify the wmode attribute to transparent or opaque.
The DEMO is as follows:
The Code is as follows:
HTML elements block Flash-scenario 1
Http://www.aa.net/ I /bookmark.swf>
Jununx, welcome! -- Transparent
Http://www.aa.net/ I /bookmark.swf>
Jununx, welcome! -- Opaque
Scenario 2 (the wmode parameter of flash cannot be modified) -- The flash and your iframe occlusion layer are on the same page
Note: If you want to be compatible with Safari and Opera, please directly inform the requirement that this cannot be masked.
The DEMO is as follows:
The Code is as follows:
HTML elements block Flash-Scenario 2
Http://www.aa.net/ I /bookmark.swf>
Jununx, welcome! -- Window
Scenario 3 (wmode parameter of flash cannot be modified) -- flash is introduced by an iframe page
Note: If you have the permission to operate the iframe page, please directly inform the requirement that this cannot be masked. Note: If you want to be compatible with Safari and Opera, please directly inform the requirement that this cannot be masked.
DEMO page:
The Code is as follows:
HTML elements block Flash-Scenario 2
Jununx, welcome! -- Window
Iframe page:
The Code is as follows:
HTML elements block Flash-scenario 3
Http://www.aa.cn/ I /bookmark.swf>