1/* 2 * Tooltip script 3 * powered by jQuery (http://www.jquery.com) 4 * 5 * written by Alen Grakalic (http://cssglobe.com) 6 * 7 * for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery 8 * 9 */ 10 11 12 13this.tooltip = function(){ 14 /* CONFIG */ 15 xOffset = 10; 16 yOffset = 20; 17 // these 2 variable determine popup's distance from the cursor 18 // you might want to adjust to get the right result 19 /* END CONFIG */ 20 21 $(".tbrows >*").hover(function(e){ 22 this.t = this.title; 23 if (this.t !=="" && this.t !=="undefined"){ 24 this.title = ""; 25 $("body").append("<p id='tooltip'>"+ this.t +"</p>"); 26 $("#tooltip") 27 .css("top",(e.pageY - xOffset) + "px") 28 .css("left",(e.pageX + yOffset) + "px") 29 .fadeIn("slow"); 30 } 31 }, 32 function(){ 33 if (this.t !==""){ 34 this.title = this.t; 35 $("#tooltip").remove(); 36 } 37 }); 38 $(".tbrows >*").mousemove(function(e){ 39 if (this.title !==""){ 40 $("#tooltip") 41 .css("top",(e.pageY - xOffset) + "px") 42 .css("left",(e.pageX + yOffset) + "px"); 43 } 44 }); 45 46}; 47
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.