Example of html element occlusion flash _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
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>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.