Flash hides div layer solution (compatible with all browsers)

Source: Internet
Author: User

The most common way to do this is

ie: Add to <object> Tags:

The code is as follows Copy Code
<param name= "wmode" value= "Transparent" >


Firefox: In

The code is as follows Copy Code
<object>-><embed> label added wmode= "Transparent", that is <embed wmode= "Transparent" ...></embed>

But still not compatible oh, and then use DW to find a solution

The first: If in Dreamweaver, then select the page to block floating picture of the Flash file, right button "Properties", point parameters, add the parameter "wmode" below, the value is "Opaque", OK, complete. (Another simple way is to add wmode= "Opaque" to the properties of the Flash source code <embed> to achieve the same effect.) )

The generated code is as follows

The code is as follows Copy Code

<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=7,0,19,0 "width=" 540 "height=" 312 ">
<param name= "movie" value= "Flash address" >
<param name= "Quality" value= "High" >
<param name= "wmode" value= "Transparent"/>
<embed src= "Flash address" quality= "high" wmode= "opaque" pluginspage= "http://www.macromedia.com/go/getflashplayer" Type= "Application/x-shockwave-flash" width= "540" height= "312" ></embed>
</object>

Attention

Opaque and transparent are basically about the same, just a little different in some special cases.

Opaque in flash need to use Input method software will be inaccurate positioning.

Transparent can be a performance problem if you use too much on the same page.

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.