Overview

jQuery Counter plugin v0.1

Overview

Usage

Add the jquery.counter.js after jquery.js:

<script src="jquery.min.js"></script>
<script src="jquery.counter.js"></script>

Using with markup

Counting days until Jun 28 2013:

<code data-counter='countdown' data-counter-date='Tue Jun 28 2013 13:00:00 -0400'></code>

Counting days elapsed since 21 September 2010:

<code data-counter='countup' data-counter-date='Tue Sep 21 2010 10:00:00 -0400'></code>

Open the examples/ folder on the source, to see more uses for this plugin.