⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.90
Server IP:
104.21.16.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
CyberCP
/
public
/
static
/
baseTemplate
/
View File Name :
percircle.js
$(document).ready(function () { var rotationMultiplier = 3.6; // For each div that its id ends with "circle", do the following. $( "div[id$='circle']" ).each(function() { // Save all of its classes in an array. var classList = $( this ).attr('class').split(/\s+/); // Iterate over the array for (var i = 0; i < classList.length; i++) { /* If there's about a percentage class, take the actual percentage and apply the css transformations in all occurences of the specified percentage class, even for the divs without an id ending with "circle" */ if (classList[i].match("^p")) { var rotationPercentage = classList[i].substring(1, classList[i].length); var rotationDegrees = rotationMultiplier*rotationPercentage; $('.c100.p'+rotationPercentage+ ' .bar').css({ '-webkit-transform' : 'rotate(' + rotationDegrees + 'deg)', '-moz-transform' : 'rotate(' + rotationDegrees + 'deg)', '-ms-transform' : 'rotate(' + rotationDegrees + 'deg)', '-o-transform' : 'rotate(' + rotationDegrees + 'deg)', 'transform' : 'rotate(' + rotationDegrees + 'deg)' }); } } }); });