Click the code to activate flash.

Source: Internet
Author: User

Put the following at the bottom of the page: Code You can. Copy code The Code is as follows: <SCRIPT>

Function flashrun ()
{
VaR d = Document. getelementsbytagname ("object ")
For (x = 0; x <D. length; X ++)
{
VaR A = string (d [X]. classid)
If (! = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000") continue
VaR aw = d [X]. Width
VaR Ah = d [X]. Height
VaR sr = ""
VaR d1 = d [X]. getelementsbytagname ("Param ")
For (xx = 0; XX <d1.length; XX ++)
{
If (d1 [xx]. Name = "move") Sr = D1 [X]. Value
}
If (SR! = "")
VaR T = '<object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width =' + aw + 'height = '+ AH +'>'
+ '<Param name = movie value = "' + Sr + '">'
+ '<Param name = wmode value = transparent>'
+ '<Param name = loop value = true>'
+ '<Param name = Quality value = high>'
+ '<Embed src = "' + Sr + '" loop = true wmode = opaque Quality = high swliveconnect = false width =' + aw + 'height = '+ AH + 'Type = "application/X-Shockwave-flash" pluginspage = "http://www.macromedia.com/shockwave/download/index.cgi? P1_prod_version = shockwaveflash "> </embed>'
+ '</Object>'
D [X]. outerhtml = T
}
}

</SCRIPT>

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.