Share Flash Overlay div (layer) solution

Source: Internet
Author: User
Keywords Solution Value

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

There are two ways to

: One is to set flash to be transparent, but if you insert an animation into the DW, add the

<param name= "wmode" value= "Transparent" >

is not effective. To replace the entire Flash plug-in code as follows:

<object type= "Application/x-shockwave-flash" Data= "width=" 560 "height=" 210 ">

<param name= "movie" Value= "/>

<param name= "wmode" value= "Transparent"/>

</object>

contrast, and DW automatically generated code is different, tested, IE FF can be.

The second method: set the Flash bottom, add code: <param name= "wmode" value= "opaque"/>

But only add this code, ie feasible, under FF, failure. To work under FF, add a wmode= "opaque" to <object, with the example code as follows:

<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "width=" 560 "height=" 210 ">

<param name= "movie" Value= "/>

<param name= "Quality" value= "High"/>

<param name= "wmode" value= "opaque" >

<embed src= "" "wmode=" opaque "quality=" high "pluginspage=" "type=" Application/x-shockwave-flash "width=" 560 "Height = "210" ></embed>

</object>

Another method is:

Change Flash Object

<style>

div {

width:100px;

height:100px;

Position:absolute;

top:20px;

left:20px;

Background:red

}

Object {

width:400px;

height:100px;

}

</style>

<div>aaaa</div>

<object type= "Application/x-shockwave-flash" Data= "" >

<param name= "movie" Value= "/>

<param name= "wmode" value= "Transparent"/>

</object>

Related Article

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.