1 2/* 3 * TopTip ver. 1.0.0 4 * jQuery Tooltip effect 5 * 6 * Copyright (c) 2013 Mariusz Rek 7 * Rascals Labs 2013 8 * 9 */ 10 11 12(function(a){a.fn.topTip=function(b){var c=false,d=a(this);if(!d.length){return;}d.on("mouseenter",function(g){var f={},h="",j=200;f={desc:a(this).data("tip-desc"),title:a(this).data("tip-title"),top:a(this).offset().top}; 13if(f.title!=undefined||f.title!=""){h="<span>"+f.title+"</span>";}a("body").append('<div id="tip"><div class="tip-content"><span class="tip-top"></span><p>'+h+f.desc+"</p><div></div>"); 14if(a(this).outerWidth()>j){a("#tip p").width(a(this).outerWidth()-40);}f.h=a("#tip div:first").outerHeight()+100;f.w=a("#tip div:first").outerWidth();a("#tip").css({position:"absolute",overflow:"hidden",width:"100%",top:f.top-f.h,height:f.h,left:0}); 15if(c){a("#tip div").css({left:g.pageX-(f.w/2),top:f.h+5}).animate({top:100},500,"easeOutBack");a(this).mousemove(function(k){a("#tip div").css({left:k.pageX-(f.w/2)}); 16});}else{var i=a(this).offset();a("#tip div").css({left:i.left+"px",top:f.h+5}).animate({top:100},500,"easeOutBack");}}).on("mouseleave",function(f){a("#tip").remove(); 17});};})(jQuery);
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.