gpt4 book ai didi

facebook - 将Facebook嵌入到IFrame中

转载 作者:行者123 更新时间:2023-12-02 04:16:55 24 4
gpt4 key购买 nike

我有一个应用程序,该应用程序的IFrame过度闪烁,允许您在网页上绘图。当我使用该应用程序访问Facebook时,会弹出一个覆盖层,覆盖50%不透明度的所有内容(可以)。问题在于,在IE7的某些安装中,覆盖层全为黑色。谁能建议如何解决这个问题?

这是我的代码:

<iframe name="test" ID="test" src="http://www.facebook.com/cyberkruz" height="200" style="width: 100%; height: 100%" allowtransparency="true"></iframe>

这是他们生成的执行此操作的代码。
<div style="z-index: 1000001; position: absolute; filter: alpha(opacity = 50); WIDTH: 9999px; background: black; height: 9999px; top: 0px; left: 0px; opacity: 0.5;" onclick="top.location.href=window.location.href"/>

我可以使用meta标签做些什么,还是可以使过滤器alpha正常工作?

最佳答案

基本上,您无法执行此操作,因为您无法像这样修改IFrame中的项目。唯一的选择是对请求的页面进行屏幕截图,然后将其显示在顶部。

关于facebook - 将Facebook嵌入到IFrame中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2436037/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com