diff --git a/joop.js b/joop.js new file mode 100644 index 0000000..b338f0a --- /dev/null +++ b/joop.js @@ -0,0 +1,25 @@ +jQuery(document).ready(function(){ + var waypoint = jQuery('#jmm-counter-181').waypoint(function() { + jQuery('#jmm-counter-181 .jmm-timer').countTo({ + formatter: function (value, options) { + return value.toFixed(options.decimals).toString().split(".").join(",").replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,"); + } + }); + this.destroy(); + }, { + offset: 'bottom-in-view' + }); + }); + + + + + + +