如何在facebook中添加iframe,
我试过这个片段但没有工作......
<a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">My Form</a>
<div id="outside_location"></div>
<fb:js-string var="link_1">
<fb:iframe height="514" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://MYNAME.wufoo.com/embed/MYFORM/"><a href="http://happylife.in" title="Contact Request Form" rel="nofollow">Fill out my Wufoo form!</a></fb:iframe>
</fb:js-string>
<script type="text/javascript" charset="utf-8">
var outside_location = document.getElementById('outside_location');
</script>
这是iframe无效....
答案 0 :(得分:0)
除非使用facebook命名空间,否则它将无效。请参阅本教程,了解如何创建iframe应用: