在fbml iframe中将body的背景设置为透明 [英] Set background of body to transparent in fbml iframe

查看:428
本文介绍了在fbml iframe中将body的背景设置为透明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种解决方法,它允许我从默认情况下获得白色背景的fbml iframe中的 body 标签中移除背景。



我尝试了不同的访问fbml iframe的方法,但不幸的是,facebook拒绝任何将某些东西放入框架的尝试。 >这里报告的错误,但没有多少东西在它周围移动: http:// bugs.developers.facebook.net/show_bug.cgi?id=12621



任何巧妙的方法解决这个问题?

$ b $除非你的网站运行在 facebook.com 上,否则你不能访问<$ $中的任何内容c $ c> iframe
(请参阅同源策略)。 p>

如果Facebook没有给你一个选项来改变它,那么你不能。


I'm looking for a workaround that would allow me to remove the background from a body tag inside an fbml iframe which gets a white background by default.

I tried different methods of accessing the fbml iframe but unfortunately facebook denies any of the attempts to put something into the frame.

The bug is reported here but not much has been moving around it: http://bugs.developers.facebook.net/show_bug.cgi?id=12621

Any clever/nasty way to fix this?

解决方案

Unless your site is running on facebook.com, you can not access anything within that iframe (see same origin policy).

If Facebook doesn't give you an option to change it, then you can't.

这篇关于在fbml iframe中将body的背景设置为透明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆