Simple customisable JS counter for displaying likes, shares, votes, etc.

A JavaScript function to display numbers of likes, shares, votes in desired format.

To style the digits, use class .counter-digit
and for letter, use .counter-letter

To check how it works, have a look:
http://jsfiddle.net/shoobm/7401jd3a/1/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s