1jQuery(function() { 2 3 jQuery(".webais-pf-project").click( 4 function(){ 5 //console.log("hovered"+this.id); 6 //jQuery(".webais-pf-content").hide(); 7 /* close the project if already opened */ 8 //console.log("has hover class? "+jQuery(this).hasClass("webais-pf-hover")); 9 if (jQuery(this).hasClass("webais-pf-hover")) { 10 jQuery(this).removeClass("webais-pf-hover"); 11 //jQuery(this).find(".webais-pf-content").fadeIn(500); 12 jQuery(this).find(".webais-pf-content").removeClass("webais-pf-content-hover"); 13 } else { 14 jQuery(".webais-pf-project").removeClass("webais-pf-hover"); 15 jQuery(".webais-pf-content").removeClass("webais-pf-content-hover"); 16 jQuery(this).addClass("webais-pf-hover"); 17 //jQuery(this).find(".webais-pf-content").fadeIn(500); 18 jQuery(this).find(".webais-pf-content").addClass("webais-pf-content-hover"); 19 } 20 } 21 ); 22 23 var insearch = false; 24 25 // toggle the search on the side bar 26 jQuery("#findworkbutton").mouseenter( 27 function(){ 28 if (insearch == false) { // if not insearch then fade in the search 29 jQuery("#apsform").fadeIn(); 30 } 31 //console.log('insearch1'+insearch); 32 } 33 ); 34 35 // hide the search form when leaving the button unless the mouse is in the search form 36 jQuery("#findworkbutton").mouseleave( 37 function(){ 38 //console.log('insearch2a'+insearch); 39 // wait a bit and then if still not insearch then fade out search 40 setTimeout(function() { 41 if (insearch == false) { 42 jQuery("#apsform").fadeOut(); 43 } 44 }, 200); // wait one second then fade out 45 //console.log('insearch2b'+insearch); 46 } 47 ); 48 49 // set the insearch variable when the mouse is in the search form 50 jQuery( "#apsform.formhidden" ).mouseenter( 51 function() { 52 insearch = true; 53 //console.log('insearch3'+insearch); 54 } 55 ); 56 57 // unset the insearch variable when the mouse leaves search form 58 jQuery( "#apsform.formhidden" ).mouseleave( 59 function() { 60 jQuery("#apsform").fadeOut(); 61 // after leaving the search wait a bit and then set search to off 62 setTimeout(function() { 63 insearch = false; 64 }, 200); // wait one second then fade out 65 //console.log('insearch4'+insearch); 66 67 } 68 ); 69 70 71});
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.