Facebook的Like按钮 - 如何禁用注释弹出框? [英] Facebook Like Button - how to disable Comment pop up box?

查看:130
本文介绍了Facebook的Like按钮 - 如何禁用注释弹出框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,当用户点击Facebook的Like按钮禁用弹出的注释框中,

I'd like to disable the Comment box that pops up when a user clicks the Facebook Like button ,

我跟着帖子<一个href=\"http://facebook.stackoverflow.com/questions/3247855/facebook-like-button-how-to-disable-comment-pop-up\">Facebook Like按钮 - 如何禁用评论弹出并改变了CSS但它没有工作,任何其他建议,请

I followed the post Facebook Like Button - how to disable Comment pop up? and changed the CSS But it didnt work any other suggestions please

我不能使用iframe否则我将无法使用FB.Event.subscribe('edge.create',

I cant use IFRAME otherwise i would not be able to use FB.Event.subscribe('edge.create',

推荐答案

HTTP: //developers.facebook.com/docs/reference/plugins/like/ :

当用户将不得不添加评论之类的选项?

如果您正在使用Like按钮的XFBML版本,用户总是要添加评论的选项。 >如果您使用的是按钮的Iframe广告版本中,用户如果要使用>标准的布局,至少400像素的宽度将有选项的意见。如果用户添加评论,故事报道>回Facebook正在更加突出。

If you are using the XFBML version of the Like button, users will always have the option to add a comment. > If you are using the Iframe version of the button, users will have the option to comments if you are using > the 'standard' layout with a width of at least 400 pixels. If users do add a comment, the story published > back to Facebook is given more prominence.

只要使用按钮的IFRAME版本和宽度设置为小于400像素。

Just use the iframe version of the button and set the width to less than 400 pixels.

这篇关于Facebook的Like按钮 - 如何禁用注释弹出框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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