js代码
<script> $(function () { $("#div1").myProgress({speed: 1000, percent: 30, width: "100px", height: "10px"}); $("#div2").myProgress({speed: 500, percent: 100}); $("#div3").myProgress({speed: 4000, percent: 50,width: "500px"}); $("#div4").myProgress({speed: 1000, percent: 1}); }) </script>