⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.109
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvinfotech.com
/
public
/
assets
/
_js
/
pages
/
View File Name :
be_ui_progress.js
/* * Document : be_ui_progress.js * Author : pixelcave * Description: Custom JS code used in Progress Page */ class pageProgress { /* * Bars randomize functionality * */ static barsRandomize() { jQuery('.js-bar-randomize').on('click', e => { jQuery(e.currentTarget) .parents('.block') .find('.progress-bar') .each((index, element) => { let el = jQuery(element); let random = Math.floor((Math.random() * 91) + 10); // Update progress width el.css('width', random + '%'); // Update progress label jQuery('span', el).html(random + '%'); }); }); } /* * Init functionality * */ static init() { this.barsRandomize(); } } // Initialize when page loads jQuery(() => { pageProgress.init(); });