Recent projects have used the scoreboard, you can download the plugin from the internet first
Http://www.jb51.net/jiaoben/133746.html
And then introduce the corresponding CSS file and JS file in the page
<script type= "Text/javascript" src= "jquery.min.js" ></script><script type= "Text/javascript" src= " Jquery.flipcountdown.js "></script><link rel=" stylesheet "type=" Text/css "href=" Jquery.flipcountdown.css "/>
$ (function () {var i = 1;$ (' #retroclockbox_counter '). Flipcountdown ({tick:function () {
Size: ' SM ', Return i++;}})
Where size can be defined in sizes that show fonts from large to small: Lg,md,sm,xs, where there are several pictures (under the IMG folder), with the default style (black) starting with digit, and if you want to change the effect of the scoreboard, you can use the tool to render, but there is a problem after rendering For example, this number should be 1, but he shows 0, 2 shows as 1,0 9, no time to study what happened by the way to write a correct integer algorithm
JQuery (function ($) {var data=parseint (Ten), middle= "", result= "";var obj2 = (data+middle). Split ("");if (data>=10) {for (Var i=0;i<obj2.length;i++) {if (9==obj2[i]) {result+=0;}else{result+= (parseint (obj2[i)) +1;}}}else{if (9==data) {result=0;}else{result=data+1;}}$ (' #map_legend1 '). Flipcountdown ({
Size: ' SM ',tick:function () {return result;} }); })
jquery Scoreboard Plug-in