Flash blur when scrolling webpages due to conflicts with Javascript

Source: Internet
Author: User

In the tutorial of helper House (www.bkjia.com), a customer recently launched a monthly subscription advertisement in helper house. Therefore, the customer handed over the advertisement file (Flash) provided by the customer to the technology and added it to the webpage, I did not expect a problem, that is, The Blur and folding of Flash will occur when the webpage is rolled. In this case, if you right-click the Flash file, the Flash will return to normal. This has been depressing for a long time for our technicians, later, he found that this was caused by the conflict between Flash and JS. We need to delete the JS file used for "Fire recommendation" in the lower right corner.

There are no other solutions, and I am not willing to delete the "helper house recommendation" in the lower right corner, but there is no way for advertisers to explain it. I have joined the editor, I first searched Baidu and did not find the answer. Then I went back to the customer's house and opened an article. I found that an advertisement of Google Adsense was also Flash, google adsense has no problem with Flash ads. Why? Then compare the two Flash reference codes.

The customer's Flash advertisement code:

Copy to ClipboardReference content: [www.bkjia.com] <embed src = ".swf" width = "480" height = "60" type = "application/x-shockwave-flash" allowfullscreen = "true" bgcolor = "# 000d19 "scale =" "play =" "loop =" "menu =" "flashvars =" "allowscriptaccess =" never "pluginspage =" http://www.macromedia.com/go/getflashplayer "> </embed>

Adsense advertisement code:

Copy to ClipboardReference: [www.bkjia.com] <EMBED src = "http://static.googleadsserving.cn/pagead/imgad? Id = require "id =" google_flash_embed "WIDTH =" 250 "HEIGHT =" 250 "WMODE =" opaque "FlashVars =" "TYPE =" application/x-shockwave-flash "AllowScriptAccess = "never" PLUGINSPAGE = "http://www.macromedia.com/go/getflashplayer"> </EMBED>

What's the difference? That is to set the opacity of Flash. WMODE = "opaque" is added to the Adsense code. Therefore, WMODE = "opaque" is added to the customer's advertisement code, and the problem is solved!

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.