All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.jwic.controls.AnchorLink.js Maven / Gradle / Ivy

There is a newer version: 5.3.43
Show newest version
{
	// Attach to events...
	afterUpdate: function(element) {
	#if($control.visible)
		var link = JWic.$('${control.controlID}'),
			infoMessage = "${control.infoMessage}" || "${control.title}";
		
		if (link) {
			JWic.controls.AnchorLink.initialize(link, "${control.controlID}", {
				#if($control.menu) menu : '$control.menu.controlID' #end
			});
			function status(what){
				return function(){
					window.status = what;
					return true;
				};
			};
			link.mouseover(status(infoMessage)).mouseout(status(""));
			
			#if($control.tooltip != "")
				link.tooltip({
					position: {
						my: "left top",
						at: "center bottom"
						}});
			#end
		}
	#end
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy