/home/aqcert/public_html/js
NameSizeModeActions
bootstrap.min.js358150644editdlrm
froogaloop2.min.js17720644editdlrm
gmap3.min.js249300644editdlrm
html5shiv.js24290644editdlrm
imagesloaded.min.js69490644editdlrm
jquery-countTo.js25010644editdlrm
jquery-ui.js372780644editdlrm
jquery-validate.js209970644editdlrm
jquery-waypoints.js78660644editdlrm
jquery.cookie.js8950644editdlrm
jquery.countdown.js60070644editdlrm
jquery.easing.js48210644editdlrm
jquery.easypiechart.min.js39540644editdlrm
jquery.flexslider-min.js223420644editdlrm
jquery.gomap-1.3.2.min.js106080644editdlrm
jquery.isotope.min.js360590644editdlrm
jquery.justifiedGallery.js415310644editdlrm
jquery.magnific-popup.min.js212000644editdlrm
jquery.min.js958740644editdlrm
jquery.themepunch.revolution.min.js1130370644editdlrm
jquery.themepunch.tools.min.js982240644editdlrm
main.js245570644editdlrm
owl.carousel.js819710644editdlrm
parallax.js19330644editdlrm
respond.min.js40470644editdlrm
slider.js18760644editdlrm
Edit: /home/aqcert/public_html/js/jquery-countTo.js (2501B)
(function ($) { $.fn.countTo = function (options) { options = options || {}; return $(this).each(function () { // set options for current element var settings = $.extend({}, $.fn.countTo.defaults, { from: $(this).data('from'), to: $(this).data('to'), speed: $(this).data('speed'), refreshInterval: $(this).data('refresh-interval'), decimals: $(this).data('decimals') }, options); // how many times to update the value, and how much to increment the value on each update var loops = Math.ceil(settings.speed / settings.refreshInterval), increment = (settings.to - settings.from) / loops; // references & variables that will change with each update var self = this, $self = $(this), loopCount = 0, value = settings.from, data = $self.data('countTo') || {}; $self.data('countTo', data); // if an existing interval can be found, clear it first if (data.interval) { clearInterval(data.interval); } data.interval = setInterval(updateTimer, settings.refreshInterval); // initialize the element with the starting value render(value); function updateTimer() { value += increment; loopCount++; render(value); if (typeof(settings.onUpdate) == 'function') { settings.onUpdate.call(self, value); } if (loopCount >= loops) { // remove the interval $self.removeData('countTo'); clearInterval(data.interval); value = settings.to; if (typeof(settings.onComplete) == 'function') { settings.onComplete.call(self, value); } } } function render(value) { var formattedValue = settings.formatter.call(self, value, settings); $self.text(formattedValue); } }); }; $.fn.countTo.defaults = { from: 0, // the number the element should start at to: 0, // the number the element should end at speed: 1000, // how long it should take to count between the target numbers refreshInterval: 100, // how often the element should be updated decimals: 0, // the number of decimal places to show formatter: formatter, // handler for formatting the value before rendering onUpdate: null, // callback method for every time the element is updated onComplete: null // callback method for when the element finishes updating }; function formatter(value, settings) { return value.toFixed(settings.decimals); } }(jQuery));