1

add this(addthis.com)共有ウィジェットがデフォルトで自分のアイコンに置き換えるために使用するデフォルトのアイコンを非表示にする方法を知っている人はいますか?

私が使用しているコードは以下のとおりです。このウィジェットを追加するとアイコンが表示されますが、main_icons.gifを使用したいと思います。前もって感謝します。

<style type="text/css">
.share strong { line-height:17px; }
.share strong, .share a { float:left; display:inline; font-weight:normal; }
.share a { width:17px; height:17px; background:transparent url(main_icons.gif) no-repeat 0px -1772px; margin-left:7px; text-indent:-9999px; }
.share a.btn_twitter { background-position:-24px -1772px; }
.share a.btn_share { background-position:-47px -1772px; }
</style>

<div class="share addthis_toolbox addthis_default_style">
<strong>Share this:</strong>
<a class="addthis_button_facebook" href="">Share with Facebook</a>
<a class="btn_twitter addthis_button_twitter" href="">Share with Twitter</a>
    <a class="btn_share addthis_button_compact" href="">Share</a>
</div>

<script type="text/javascript">
var addthis_config = {
    "data_track_addressbar":true,
    "services_exclude":'facebook,twitter',
}
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=myusername"></script>
4

1 に答える 1

3

わかりました。ここで答えを見つけました:http ://support.addthis.com/customer/portal/articles/381236-custom-buttons#.T-zBZ_VRL90

タグにカスタム画像のsrcが含まれる画像タグだけです...例:

<a class="addthis_button" href="http://www.addthis.com/bookmark.php"><img src="customButton.gif" width="16" height="16" border="0" alt="Share" /></a> 
于 2012-06-28T20:43:27.200 に答える