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 */ 10this.tooltip = function($izi){ 11 /* CONFIG */ 12 xOffset = 10; 13 yOffset = 20; 14 // these 2 variable determine popup's distance from the cursor 15 // you might want to adjust to get the right result 16 /* END CONFIG */ 17 $izi(".tooltip a").hover(function(e){ 18 this.t = this.title; 19 this.title = ""; 20 $izi("body").append("<div id='tooltip'><p>"+ this.t +"</p></div>"); 21 $izi("#tooltip") 22 .css("top",(e.pageY - xOffset) + "px") 23 .css("left",(e.pageX + yOffset) + "px") 24 .fadeIn("fast"); 25 }, 26 function(){ 27 this.title = this.t; 28 $izi("#tooltip").remove(); 29 }); 30 $izi(".tooltip a").mousemove(function(e){ 31 $izi("#tooltip") 32 .css("top",(e.pageY - xOffset) + "px") 33 .css("left",(e.pageX + yOffset) + "px"); 34 }); 35}; 36
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.