File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/percircle.js.tar
Back
usr/local/CyberCP/cyberpanel/static/baseTemplate/percircle.js 0000644 00000002174 15030355450 0020271 0 ustar 00 $(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)' }); } } }); });
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings