纯文字版的Facebook的Like按钮? [英] Text-only version of Facebook's Like button?

查看:150
本文介绍了纯文字版的Facebook的Like按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人觉得Facebook Like按钮在一个UI中太侵入了吗?喜欢它不适合,就像它是一些便宜的塑料的东西?



有没有人曾经使用JS或某些东西来做任何替代品,如纯文本?如果是的话,有没有人做过任何A / B测试,看看它对原来的效果是否同样好?



此外,这是否违反了Facebook的TOS说你不能模糊或覆盖我们的社交插件的元素,例如Like按钮或Like框插件?



http://jsfiddle.net/dwaynie/HqA3H/9/



谢谢!

解决方案

为Facebook和Twitter制作纯文字链接,并使用CSS做样式。以下是创建链接(具有适当大小的弹出窗口)的方法:



http://jsfiddle.net/c6XQT/



这里是代码:

 < a href =JavaScript:window.open('http://www.facebook.com/sharer.php?u=http://jsfiddle.net',' , '宽度= 657,高度= 400,滚动条= 1')>像< / A> 

< a href =JavaScript:window.open('https://twitter.com/share?url=http://jsfiddle.net&text=Check out this link:', '', '宽度= 450,高度= 350')>资料Tweet< / A>


Does anybody feel the Facebook Like button is too intruding in ones UI? Like it doesn't fit in, like it's some cheap plastic thing?

Have anybody ever used JS or something to make any alternatives like a plain text one? If so, has anybody ever done any A/B testing to see if it performs equally well to the original?

Moreover, would this violate Facebook's TOS saying "You must not obscure or cover elements of our social plugins, such as the Like button or Like box plugin"?

http://jsfiddle.net/dwaynie/HqA3H/9/

Thanks!

解决方案

Make text-only links for Facebook and Twitter and use CSS to do your styling. Here's how to create the links (with appropriately-sized pop-up windows):

http://jsfiddle.net/c6XQT/

Here's the code:

<a href="JavaScript:window.open('http://www.facebook.com/sharer.php?u=http://jsfiddle.net','','width=657,height=400,scrollbars=1')">Like</a>

<a href="JavaScript:window.open('https://twitter.com/share?url=http://jsfiddle.net&text=Check out this link:','','width=450,height=350')">Tweet</a>

这篇关于纯文字版的Facebook的Like按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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