In the 设置对话框 http://developers.facebook.com/docs/reference/plugins/like对于 Like-Button,布局只有两种选择:
- 替代方案1 https://web.archive.org/web/20120607074135/http://img180.imageshack.us/img180/9845/alternative1.png
- 替代方案2 https://web.archive.org/web/20120607074136/http://img210.imageshack.us/img210/6472/alternative2.png
不幸的是,我雇主网站上的数字远未达到 22'000,因此当局决定我们不应该显示“喜欢”的数量,直到该数字对我们更加有利。据我所知,我无法通过 Javascript 或 CSS 访问按钮的布局(它位于 facebook 提供的 iframe 中)。还有其他方法可以隐藏计数吗?
如果你这样做overflow:hidden
然后请记住,它还会隐藏 XFBML 版本中出现的评论框...在用户喜欢它之后。所以最好如果你这样做...
/* make the like button smaller */
.fb_edge_widget_with_comment iframe
{
width:47px !important;
}
/* but make the span that holds the comment box larger */
span.fb_edge_comment_widget.fb_iframe_widget iframe
{
width:401px !important;
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)