1// Custom functions, add content, etc. 2 3function ignoreerror() 4{ 5 return true 6} 7// window.onerror=ignoreerror(); 8 9jQuery(document).ready(function() { 10 11 jQuery('.match-these').matchHeight(); 12 13 jQuery('#site-logo-inner .main-logo img').attr('alt','Woodhull - Returns to Homepage'); 14 15 jQuery('#footer-callout-right a').attr('title','Donate to the Woodhull Freedom Foundation'); 16 17 jQuery('.search-toggle-li a').attr('title','Search'); 18 19 jQuery('.people .theme-button').attr('title','Read More'); 20 21 jQuery('a.wpex-social-btn').each(function(index) { 22 jQuery(this).attr('href', jQuery(this).attr('href').replace(' (Opens in a new tab)','') ); 23 jQuery(this).attr('aria-label','(Opens in a new tab)'); 24 jQuery(this).find('span').attr('role','none'); 25 }); 26 27 var InfiniteRotator = { 28 init: function() 29 { 30 //initial fade-in time (in milliseconds) 31 var initialFadeIn = 500; 32 33 //interval between items (in milliseconds) 34 var itemInterval = 6000; 35 36 //cross-fade time (in milliseconds) 37 var fadeTime = 500; 38 39 //count number of items 40 var numberOfItems = jQuery('.sponsors-home span').length; 41 42 //set current item 43 var currentItem = 0; 44 45 //show first item 46 jQuery('.sponsors-home span').eq(currentItem).fadeIn(initialFadeIn); 47 48 //loop through the items 49 var infiniteLoop = setInterval(function(){ 50 jQuery('.sponsors-home span').eq(currentItem).fadeOut(fadeTime); 51 52 if(currentItem == numberOfItems -1){ 53 currentItem = 0; 54 }else{ 55 currentItem++; 56 } 57 jQuery('.sponsors-home span').eq(currentItem).fadeIn(fadeTime); 58 59 }, itemInterval); 60 } 61 }; 62 63 InfiniteRotator.init(); 64 65}); 66 67
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.