Skip to content

ateufel/supercount

Repository files navigation

Supercount

jQuery Counter Kung Fu

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/supercount.min.js"></script>
<script>
jQuery(function($) {
	var counter = $('#yourelement').supercount({
		from: 0,
		to: 100,
		step: 1,
		stepTime: 100
	});
	counter.on('onCountFinished', function () {
		//count finished and stuff
	});
	counter.start();
});
</script> 

Release History

1.0.4 some small fixes, does not count up when end = start now

1.0 initial release, ready to count!

About

jQuery Counter Kung Fu

Resources

Stars

Watchers

Forks

Packages

No packages published