我正在编写一个 Facebook iframe/Facebook Connect 应用程序,其中一个页面包括一个多朋友选择器。它在我尝试过的每个浏览器(FF/Mac、Safari/Mac、IE8/Win)中都能完美呈现,但在 IE7/Win 中根本不呈现。我等了又等(以防它只是很慢)但它从未出现过。
这是我的代码。
<fb:serverfbml style="width:750px;height:700px">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="<? echo $invite_href; ?>"
method="post"
type="<? echo $app_name; ?>"
content="<? echo htmlentities($content,ENT_COMPAT,'UTF-8'); ?>">
<div class="clearfix" style="padding-right:20px;" height="500" width="750">
<fb:multi-friend-selector
actiontext="Here are your friends who don't have <? echo $app_name; ?> yet. Invite your friends and let them help too - it's free!"
exclude_ids="<? echo $friends; ?>" />
</div>
</fb:request-form>
</fb:fbml>
</script>
</fb:serverfbml>
其他必需的东西(FeatureLoader.js 和所有这些)都(必须)正确包含,因为我在应用程序周围使用的朋友选择器和所有其他 fb 标签都可以正常工作。serverfbml 标记是唯一在 IE7 中给我带来麻烦的东西。大多数人似乎对 150 像素高的选择器渲染有问题 - 我似乎找不到其他人遇到问题,根本无法渲染。