NumScroller is a jQuery plugin for number increment rolling animation when it becomes visibile while scrolling.
and include the jQuery
library and the NumScroller
plugin in your web page.
Now in the HTML code, write the number with a class 'numscroller' as described below to get rolling animation, when it becomes visible in the screen while scrolling.
<span class='numscroller' data-min='1' data-max='1000' data-delay='5' data-increment='10'>1000</span>
Charles Babbage designs his first mechanical computer in
Tim Berners-Lee at CERN releases first website in
Total no. websites as of 2014,
No of internet users world wide as of 2014,
No. blood vessels in human body,
No. of heart beats for one day,
The tag with 'numscroller' class can have below attributes to customize the behaviour,
||Start number for increment rolling
||End number for increment rolling
||Increment by value for each rolling
||Total seconds to complete the number increment rolling