PageSourceSearch

https://moogfoundation.org/wp-content/themes/divi-child/js/rotate-knobs.js?ver=7.1.2

js moogfoundation.org collected 2026-10-01 11:25:42 UTC 994 bytes, 26 lines download raw bytes

1jQuery(document).ready(function($){
2	// Add Rotating Knob
3	$( '.et_pb_number_counter' ).find('.percent').prepend('<div class="circle"><div class="inner-circle"><span>|</span></div></div>');
4
5	// Rotate Number Counter Section
6	$(document).on( 'scroll', function() {
7		var rotation = 0;
8
9		jQuery.fn.rotate = function(degrees) {
10		    $(this).css({'-webkit-transform' : 'rotate('+ degrees +'deg)',
11		                 '-moz-transform' : 'rotate('+ degrees +'deg)',
12		                 '-ms-transform' : 'rotate('+ degrees +'deg)',
13		                 'transform' : 'rotate('+ degrees +'deg)',
14    					 '-webkit-transition' : '-webkit-transform 1.8s ease-in-out',
15    					 '-ms-transition' : '-ms-transform 1.8s ease-in-out',
16		             	 'transition' : 'transform 1.8s ease-in-out'});
17		    return $(this);
18		};
19
20		if( $(this).scrollTop() >= $('#circle-rotate-section').position().top ) {
21			console.log('rotate');
22		    rotation += 495;
23		    $('.inner-circle').rotate(rotation);
24		}
25	});
26});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.