Flash 广告通过 JavaScript 弹出窗口发送
我正在使用基于 jquery 的 Facebox 弹出窗口。我的广告平台是 Doubleclick。弹出窗口中出现一些 Flash 广告。我正在 iframe 中加载广告的 js 代码。
我尝试将 wmode=transparent 作为参数传递给 js 广告代码,我确实对某些 Flash 广告有所帮助,但对于某些广告,它不采用 wmode=transpret。我什至尝试增加 Facebox 的 z-index,但这也没有帮助。我能做些什么 。
我不认为这可能是一个双重点击特定问题(我知道我必须在哪里寻求帮助),但在我的文本/内容问题上闪现了其他网站
i am using jquery based facebox popup. My ad platform is Doubleclick. Some flash ad comes over the popup. I am loading the ad's js code in a iframe.
I tried passing wmode=transparent to as a parameter to the js ad code i did help for some flash ads but to some ads it's not taking wmode=transprent. I even tried to increase z-index of facebox but that too didn't help. What can i do .
I dont think so this could be a double clik specfic problem( i know its where i have to look for help) but a flash of other site over my text/content issue
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
问题是您无法控制来自代理广告的 Flash 广告/JavaScript 广告代码。我发现这个问题的唯一通用解决方案是使用弹出窗口插件可用的回调,并在弹出窗口加载时隐藏广告,然后再次显示它们,然后弹出窗口关闭。
The problem is you don't have control over the flash ad/javascript ad tags coming from the agency adverts. The only universal solution I have found to this problem is to use what ever callbacks are available for your popup plugin and hide the adverts when the popup loads, then show them again then the popup closes.
您不必将 wmode=transparent 传递给 JS。您必须将其传递给 Flash。
更多信息请访问 Adobe Flash 网站。
You don't have to pass wmode=transparent to the JS. You have to pass it to Flash.
More information at Adobe Flash's Website.
显示弹出窗口时隐藏广告是此线程中讨论的一种可能的解决方案:
Flash on top jQuery 对话框
与此类似的问题在 SO 中经常出现,我不知道有任何一种解决方案适用于所有浏览器和所有应用程序。
Hiding the ads when showing the popup is a possible solution discussed in this thread:
Flash on top of jQuery dialog
Questions similar to this one comes up on a regular basis here at SO and I don't know of any one solution that works in all browsers and all applications.
我从来没有使用过facebox弹出窗口,但我确信它会有一些外部div,只需通过css给该div一些纯色,例如background-color:#ccc,即使它的wmode是窗口,它也会通过flash出现。
I have never used facebox popup but am sure it would have some outer div right, just give that dive some solid color via css eg background-color:#ccc and it will come over flash even if its wmode is window.