开发者

Facebook XFBML is not rendering in Internet Explorer 8

I put up this test page to illustrate this issue: (dead Link)

Every browse开发者_如何学Cr I've tested on has worked but in Internet Explorer 8. The odd part is that Internet Explorer 8 doesn't even report an error, WOW, and that is something. So right now I'm stuck with to nothing to work on or debug. What have I overlooked?


So somehow the xmlns attribute that I had previously set to the HTML tag was gone, probably me undoing things like crazy.

Here is how it should be if anyone encounters this issue:

<html xmlns:fb="http://www.facebook.com/2008/fbml">


<html xmlns:fb="http://ogp.me/ns/fb#">

<head></head>

<body>

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1">

</script>

<fb:like href="http://www.facebook.com" send="false" layout="button_count" width="500" show_faces="true"></fb:like>

</body>

</html>

Even this is not working in the IE. It is opening a pop up url=http://www.facebook.com/connect/connect_to_external_page_reload.html and that's that. On Debugging I see it is not picking up the xmlns. Same code works fine in FF and Chrome and I am able to see on my facebook wall also but not if I do through IE.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜