How to Set Flash to the bottom of a web page

Source: Internet
Author: User

 
Today, I encountered a problem. I put two Flash files on the webpage and set the "z-index" attribute, but it didn't work. I searched the internet, it is found that the original Flash has the highest priority. To set it to the bottom layer of the web page, in addition to setting the "z-index" attribute, you also need to set the Flash to transparent. Paste the Code:
1. Method 1:
<Div style = "z-index:-1"> <! -- 1. Set FLASH to the underlying layer -->
<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://xxx.xxx.xxx" width = "200" height = "115">
<Param name = "movie" value = "media.swf">
<Param name = "quality" value = "high">
<Embed src = "media.swf" quality = "high" pluginspage = "http://xxx.xxx.xxx" type = "application/x-shockwave-flash" width = "200" height = "115"> </embed>
<Param name = "wmode" value = "Opaque"> <! -- 2. You must set the FLASH to transparent -->
</Object> </div>

2. Method 2:

<Embed src = "xxxxx.swf" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application/x-shockwave-flash" width = "900" height = "150" wmode = ""transparent"> </embed>

 

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.