1var ButtonHighlight = (function(){ 2 3 var colorArray = ["#e66f66" , "#e47067" , "#e0736c" , "#db7770" , "#d77b75", "#d27f79" 4 ]; 5 var subscribeButton = "#subscribe_button"; 6 7 var index = 0; 8 var size = 12; 9 var goOn = true; 10 var startInterval = function(){ 11 setInterval(function(){ changeColor(); } , 200); 12 }; 13 14 var changeColor = function(){ 15 if(index == colorArray.length - 1){ index = 0;} 16 17 console.log("arrivo"); 18 $(subscribeButton).css({ 'border-color' : colorArray[index],'border-width' : "1.5px",'border-radius' : "5px", 'color' : colorArray[colorArray.length - index], "font-size" : size + "px"} ); 19 index++; 20 21 if(size == 18){ goOn = false; } 22 if(size == 12){ goOn = true; } 23 24 size = (goOn) ? size + 1 : size -1; 25 }; 26 27 return { 28 init : function(){ 29 startInterval(); 30 } 31 } 32}()); 33 34 35 36$(document).ready(function(){ ButtonHighlight.init(); });
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.