Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple jQuery plugin for creating a flip counter
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
img
README.rst
index.html
jquery-flipcounter.js

README.rst

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.

Something went wrong with that request. Please try again.