Facebook Like-Button - 隐藏计数? [英] Facebook Like-Button - hide count?

查看:21
本文介绍了Facebook Like-Button - 隐藏计数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在赞按钮的设置对话框中,只有两个布局选项:

In the setup dialog for the Like-Button, there are only two options for layout:

不幸的是,我雇主网站的数字远不及 22'000,因此权力决定我们不应该显示喜欢"的数量,直到该数字对我们有利.据我所知,我无法通过 Javascript 或 CSS 访问按钮的布局(它位于 facebook 提供的 iframe 中).还有其他隐藏计数的方法吗?

Unfortunately, the numbers for the website of my employer is nowhere near 22'000, so the powers that be have decided that we should not show the number of "likes" until said number is a little more in our favour. As far as I know, I don't have access to the layout of the button through Javascript or CSS (it's in an iframe served by facebook). Are there any other ways to hide the count?

推荐答案

编码为显示推荐"的 Like 按钮为 84px 宽,Like"按钮为 44px,将为像我这样需要 CSS 的人节省一些时间隐藏我的页面目前有多不受欢迎!我把这段代码放在了我的主页顶部,所以最初我不希望它宣传我有多少点赞.

The Like button coded to show "Recommend" is 84px wide and the "Like" button is 44px, will save some time for you CSS guys like me who need to hide how unpopular my page currently is! I put this code on top of my homepage, so initially I don't want it to advertise how few Likes I have.

这篇关于Facebook Like-Button - 隐藏计数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆