从Facebook中删除/调整html'title'按钮 [英] Remove/adjust html 'title' from facebook like button
本文介绍了从Facebook中删除/调整html'title'按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我将鼠标悬停在按钮上,它将显示此标题:FB:像Facebook社交插件。
您是否知道如何删除或调整标题?
这是代码:
< div
class =fb-like
data-href =https://www.facebook.com/mywebsite
data-layout =button_count
data-action =like
data-size =small
data-show-faces =true
data-share =true>
< / div>
JS:
< 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/nl_NL/sdk.js#xfbml=1&version= v2.6& appId = 00000000;
fjs.parentNode.insertBefore(js,fjs);
}(document,'script','facebook-jssdk'));< / script>
希望你能帮助我
解决方案
刚刚发现。替换你可以在你的元素中找到。在这里你有标题标签,只是删除它。
I have the facebook like/share button on my site. If I hover over the buttons it will show this title: FB: Like Facebook social plugin.
Do any of you know how I can remove or adjust this title?
This is the code:
<div
class="fb-like"
data-href="https://www.facebook.com/mywebsite"
data-layout="button_count"
data-action="like"
data-size="small"
data-show-faces="true"
data-share="true">
</div>
JS:
<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/nl_NL/sdk.js#xfbml=1&version=v2.6&appId=00000000";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
I hope you can help me
解决方案
Just found it. Replace the with the you can find in your elements. Here you have the title tag and just remove it.
这篇关于从Facebook中删除/调整html'title'按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文