在标签中使用 Facebook 评论插件。首次加载页面时,Facebook 评论插件运行良好,但当点击其他标签并返回 Facebook 选项卡时,Facebook 评论插件消失,取而代之的是一个白色块。如果您重新加载页面,则新显示 Facebook 评论插件。以前有人遇到过同样的问题吗?
示例页面:http ://socext.com/demo/soccomments/76-kak-sbrosit-parol-administratora-joomla.html
在标签中使用 Facebook 评论插件。首次加载页面时,Facebook 评论插件运行良好,但当点击其他标签并返回 Facebook 选项卡时,Facebook 评论插件消失,取而代之的是一个白色块。如果您重新加载页面,则新显示 Facebook 评论插件。以前有人遇到过同样的问题吗?
示例页面:http ://socext.com/demo/soccomments/76-kak-sbrosit-parol-administratora-joomla.html
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.