js代码
<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/sparkle.jquery.js"></script> <script type="text/javascript"> $("#main").sparkle({ fill:"#f7c916" , stroke:"#fde3a7", size: 30, }).sparkle({ delay: 1000, pause: 750, size: 10 }); </script>