【Foreword】
This article introduces a plug-in for digital scrolling effects, jQuery.Running.js (run, numbers!) is a plug-in that can make numbers, column charts, and pie charts run, and supports scroll bar responses. The compressed file size is only 4k.
Effects include: digital running, column chart running, ring chart running, etc.
【main body】
Instructions
(1) Load the jQuery.Running.css style file
<link rel="stylesheet" href="css/jquery.running.css">
(2) Call the jQuery class library and the jQuery.Running.min.js file
<script type="text/javascript" src="js/jquery-1.7.2.js"></script> <script type="text/javascript" src="js/jquery.running.js"></script>
(3) Enable the plugin $(container).running();
$(function(){ $('body').running(); })
【Summarize】
Finally, the official website is attached: http://www.qietu.com/p/jquery.running.js
.