The button taps into various APIs and aggregates an URL's total share count.
Usage:
The JS options:
sharecounter = ".sharecount" //class name of share counter holders
sharelink = ".shareme" //class name of links to be get share counts for
failwait = 3000 //time to wait for api fail in milliseconds
services = [twitter,facebook,digg,delicious]; //selected services
prepend = ""; //prepend string (emtpy by default)
append = ""; //append string (emtpy by default)
The HTML part:
<a href="http://www.google.com/" class="shareme">Total</a>
<div class="sharecount">Share</div>
Here are some key features of "Share Count JS":
· Loads fast
· Lightweight, 2kb
· Gracefully degrades
· Customizable via CSS
· Easy to use
· Allow multiple counters
· Built-in API fail-safe
Supported buttons:
· Twitter
· Facebook
· Digg
· Delicious
Requirements:
· JavaScript enabled on client side