开发者

how to set the default Icons set on every page for AddThis

I would like to modify the code so it will display atleast 10 icons开发者_如何学JAVA when the page loads. how could I do this on addThis? Thanks


HTML:

<div class="addthis_toolbox addthis_default_style "></div>

jQuery:

var totalButtons = 10;
for(var i=1;i<=totalButtons;i++){
   $('.addthis_toolbox').append('<a class="addthis_button_preferred_'+i+'"></a>');
}

Please post any code you are currently using for your AddThis widget.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜