X7ROOT File Manager
Current Path:
/home/jeyam/public_html/assets/js
home
/
jeyam
/
public_html
/
assets
/
js
/
📁
..
📄
.htaccess
(0 B)
📄
2index.php
(0 B)
📄
aos.js
(13.91 KB)
📄
appear.js
(4.28 KB)
📄
bootstrap-select.min.js
(46.59 KB)
📄
bootstrap.bundle.min.js
(74.52 KB)
📄
custom.js
(23.32 KB)
📄
isotope.js
(36.89 KB)
📄
jquery-ui.js
(526.78 KB)
📄
jquery.bootstrap-touchspin.js
(19.08 KB)
📄
jquery.bxslider.min.js
(18.91 KB)
📄
jquery.countTo.js
(3.38 KB)
📄
jquery.countdown.min.js
(4.94 KB)
📄
jquery.easing.min.js
(5.42 KB)
📄
jquery.enllax.min.js
(1.53 KB)
📄
jquery.fancybox.js
(150.49 KB)
📄
jquery.js
(286.55 KB)
📄
jquery.magnific-popup.min.js
(19.74 KB)
📄
jquery.mixitup.min.js
(28.26 KB)
📄
jquery.paroller.min.js
(2.71 KB)
📄
jquery.polyglot.language.switcher.js
(13.25 KB)
📄
jquery.tabs.min.js
(994 B)
📄
knob.js
(26.39 KB)
📄
lazyload.js
(14.94 KB)
📄
lock360.php
(705 B)
📄
map-script.js
(5.52 KB)
📄
nouislider.js
(13.35 KB)
📄
owl.js
(87.9 KB)
📄
scrollbar.js
(39.6 KB)
📄
slick.js
(85.11 KB)
📄
timePicker.js
(0 B)
📄
validation.js
(35.31 KB)
📄
whatsappme.min.js
(2.68 KB)
📄
wow.js
(6.15 KB)
Editing: jquery.countTo.js
(function ($) { var CountTo = function (element, options) { this.$element = $(element); this.options = $.extend({}, CountTo.DEFAULTS, this.dataOptions(), options); this.init(); }; 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 }; CountTo.prototype.init = function () { this.value = this.options.from; this.loops = Math.ceil(this.options.speed / this.options.refreshInterval); this.loopCount = 0; this.increment = (this.options.to - this.options.from) / this.loops; }; CountTo.prototype.dataOptions = function () { var options = { from: this.$element.data('from'), to: this.$element.data('to'), speed: this.$element.data('speed'), refreshInterval: this.$element.data('refresh-interval'), decimals: this.$element.data('decimals') }; var keys = Object.keys(options); for (var i in keys) { var key = keys[i]; if (typeof(options[key]) === 'undefined') { delete options[key]; } } return options; }; CountTo.prototype.update = function () { this.value += this.increment; this.loopCount++; this.render(); if (typeof(this.options.onUpdate) == 'function') { this.options.onUpdate.call(this.$element, this.value); } if (this.loopCount >= this.loops) { clearInterval(this.interval); this.value = this.options.to; if (typeof(this.options.onComplete) == 'function') { this.options.onComplete.call(this.$element, this.value); } } }; CountTo.prototype.render = function () { var formattedValue = this.options.formatter.call(this.$element, this.value, this.options); this.$element.text(formattedValue); }; CountTo.prototype.restart = function () { this.stop(); this.init(); this.start(); }; CountTo.prototype.start = function () { this.stop(); this.render(); this.interval = setInterval(this.update.bind(this), this.options.refreshInterval); }; CountTo.prototype.stop = function () { if (this.interval) { clearInterval(this.interval); } }; CountTo.prototype.toggle = function () { if (this.interval) { this.stop(); } else { this.start(); } }; function formatter(value, options) { return value.toFixed(options.decimals); } $.fn.countTo = function (option) { return this.each(function () { var $this = $(this); var data = $this.data('countTo'); var init = !data || typeof(option) === 'object'; var options = typeof(option) === 'object' ? option : {}; var method = typeof(option) === 'string' ? option : 'start'; if (init) { if (data) data.stop(); $this.data('countTo', data = new CountTo(this, options)); } data[method].call(data); }); }; }(jQuery));
Upload File
Create Folder