PageSourceSearch

https://www.musiker-online.com/wp-content/themes/musiker-online/js/easyTooltip.js?ver=1.0

js musiker-online.com collected 2026-10-02 12:29:40 UTC 1,817 bytes, 67 lines download raw bytes

1/*
2 * 	Easy Tooltip 1.0 - jQuery plugin
3 *	written by Alen Grakalic	
4 *	http://cssglobe.com/post/4380/easy-tooltip--jquery-plugin
5 *
6 *	Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
7 *	Dual licensed under the MIT (MIT-LICENSE.txt)
8 *	and GPL (GPL-LICENSE.txt) licenses.
9 *
10 *	Built for jQuery library
11 *	http://jquery.com
12 *
13 */
14 
15(function($) {
16
17	$.fn.easyTooltip = function(options){
18	  
19		// default configuration properties
20		var defaults = {	
21			xOffset: 10,		
22			yOffset: 25,
23			tooltipId: "easyTooltip",
24			clickRemove: false,
25			content: "",
26			useElement: ""
27		}; 
28			
29		var options = $.extend(defaults, options);  
30		var content;
31				
32		this.each(function() {  				
33			var title = $(this).attr("title");				
34			$(this).hover(function(e){											 							   
35				content = (options.content != "") ? options.content : title;
36				content = (options.useElement != "") ? $("#" + options.useElement).html() : content;
37				$(this).attr("title","");									  				
38				if (content != "" && content != undefined){			
39					$("body").append("<div id='"+ options.tooltipId +"'>"+ content +"</div>");		
40					$("#" + options.tooltipId)
41						.css("position","absolute")
42						.css("top",(e.pageY - options.yOffset) + "px")
43						.css("left",(e.pageX + options.xOffset) + "px")						
44						.css("display","none")
45						.fadeIn("fast")
46				}
47			},
48			function(){	
49				$("#" + options.tooltipId).remove();
50				$(this).attr("title",title);
51			});	
52			$(this).mousemove(function(e){
53				$("#" + options.tooltipId)
54					.css("top",(e.pageY - options.yOffset) + "px")
55					.css("left",(e.pageX + options.xOffset) + "px")					
56			});	
57			if(options.clickRemove){
58				$(this).mousedown(function(e){
59					$("#" + options.tooltipId).remove();
60					$(this).attr("title",title);
61				});				
62			}
63		});
64	  
65	};
66
67})(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.