|File Size:||3.22 KB|
|Official Website:||Go to website|
If you need a counter that can increment numbers, then this jQuery plugin is just right for you.
countMe is a lightweight and easy to use jQuery animated counter plugin that can be used to show social shares, how many views a page has received, or perhaps how many followers you have.
How to use it:
1. Include the
countMe.min.js script after loading the latest jQuery library.
<script src="/path/to/cdn/jquery.slim.min.js"></script> <script src="/path/to/countMe.min.js"></script>
2. Specify the desired number towards which the counter counts from zero.
<h1 id="counter"> 1234 </h1>
3. Initialize the counter and specify the delay & speed in milliseconds. That's it.
// $(selector).countMe(delay,speed) $("#counter").countMe(40,65);