Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 895 Bytes

README.rst

File metadata and controls

36 lines (21 loc) · 895 Bytes

jquery.flipcounter plugin -- Arturo Fernandez <arturo@bsnux.com>

Description

This jQuery pluing creates a simple flip counter. It value should be changed using the "setValue()" public method. The value never changes automatically.

Based on:

http://cnanney.com/journal/code/apple-style-counter-revisited/

http://cnanney.com/journal/code/apple-style-counter/

Modified by: Arturo Fernandez (arturo@bsnux.com)

Licensed under MIT: http://www.opensource.org/licenses/mit-license.php

jQuery 1.3+ is required.

Usage

Please, take a look at index.html file.

Public methods

setValue(): An integer is required as parameter. This method sets the value of the counter.

Example

Download index.html and jquery-flipcounter.js and load the HTML using your favourite web browser.