⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
wearecrazy
/
public_html
/
assets
/
frontend
/
js
/
View File Name :
jQuery.rProgressbar.min.js
/** * jQuery Line Progressbar * Author: Sharifur Rahman * Author URI : https:devrobin.com * Version: 1.0.0 */ ; (function($) { 'use strict'; $.fn.rProgressbar = function(options) { options = $.extend({ percentage: null, ShowProgressCount: true, duration: 1000, // Styling Options fillBackgroundColor: '#ed1c24', backgroundColor: '#EEEEEE', borderRadius: '0px', height: '5px', width: '100%' }, options); $.options = options; return this.each(function(index, el) { // Markup $(el).html('<div class="progressbar"><div class="proggress"></div><div class="percentCount"></div></div>'); var lineProgressBarInit = function() { var progressFill = $(el).find('.proggress'); var progressBar = $(el).find('.progressbar'); var progressCount = $(el).find('.percentCount'); progressFill.css({ backgroundColor: options.fillBackgroundColor, height: options.height, borderRadius: options.borderRadius, }); progressBar.css({ width: options.width, backgroundColor: options.backgroundColor, borderRadius: options.borderRadius }); // Progressing progressFill.animate({ width: options.percentage > 100 ? 100 + "%" : options.percentage + "%" }, { step: function(x) { if (options.ShowProgressCount) { $(el).find(".percentCount").text(Math.round(x) + "%"); } }, duration: options.duration }); var animatePropery = {left: options.percentage > 100 ? 93 + "%" : options.percentage + "%"}; if($('html').attr('dir') == 'rtl'){ animatePropery = {right: options.percentage > 100 ? 93 + "%" : options.percentage + "%"}; } progressCount.animate(animatePropery, { duration: options.duration }); } $(this).waypoint(lineProgressBarInit, { offset: '100%', triggerOnce: true }); }); } })(jQuery);