Created
August 16, 2018 08:52
-
-
Save osieckiAdam/9bb1b59b8a814a65873c196242bc6169 to your computer and use it in GitHub Desktop.
Simple Counter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <span class="counter" style="display: inline-block;">8176</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(document).ready(function( $ ) { | |
| $('.counter').counterUp({ | |
| delay: 10, | |
| time: 1000 | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script> | |
| <script src="https://bfintal.github.io/Counter-Up/jquery.counterup.min.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment