0

在标签中使用 Facebook 评论插件。首次加载页面时,Facebook 评论插件运行良好,但当点击其他标签并返回 Facebook 选项卡时,Facebook 评论插件消失,取而代之的是一个白色块。如果您重新加载页面,则新显示 Facebook 评论插件。以前有人遇到过同样的问题吗?

示例页面:http ://socext.com/demo/soccomments/76-kak-sbrosit-parol-administratora-joomla.html

4

1 回答 1

1

The issue is easy to fix with some JavaScript. When the user click on the Facebook button, call FB.XFBML.parse(); in your code (i.e. in the onclick method or when the page is first loaded) and the comments plugin will display correctly everything.

If that doesn't work, use jQuery UI and bind to the tabs so that FB.XFBML.parse(); when the tabs are clicked.

于 2013-10-30T21:09:20.477 回答