Facebook Like按钮显示奇怪的对话窗口 [英] Facebook Like button shows strange dialog window
本文介绍了Facebook Like按钮显示奇怪的对话窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
但是当我点击按钮时,它显示一个小对话窗口,如下所示:
http://www.badongo.com/pic/13928565
我不想要这个对话窗口。我只是希望像按钮的数量增加。
有人请帮助我,谢谢!
< div id =fb-root>< / DIV>
< script>(function(d,s,id){
var js,fjs = d.getElementsByTagName(s)[0];
if(d.getElementById(id) {return;}
js = d.createElement(s); js.id = id;
js.src =//connect.facebook.net/zh_TW/all.js#appId=189257097820759& xfbml = 1;
fjs.parentNode.insertBefore(js,fjs);
}(document,'script','facebook-jssdk'));< / script>
< div class =fb-likedata-href =imobile.twdata-send =falsedata-layout =box_countdata-width =40显示-面= 假 >< / DIV>
解决方案
在您的CSS中:
.fb_edge_comment_widget.fb_iframe_widget {display:none!important}
I added the following Facebook Like code in my blog. But when I clicked on the button, it showed up a small dialogue window which looks like this: http://www.badongo.com/pic/13928565
I don't want this dialog window. I simply want the count of like button to increase. Someone please help me, thanks!
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/all.js#appId=189257097820759&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="imobile.tw" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false"></div>
解决方案
In your CSS:
.fb_edge_comment_widget.fb_iframe_widget { display: none !important }
这篇关于Facebook Like按钮显示奇怪的对话窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文