PageSourceSearch

https://udala.amurrio.eus/templates/agenda/js/custom.js

js amurrio.eus collected 2026-10-09 04:59:44 UTC 1,403 bytes, 51 lines download raw bytes

1jQuery(function ($) {
2	
3	//Al clicar en los links de la clase .mod_events_monthyear no hará nada
4	
5	$(".mod_events_monthyear a").click(function() { return false; });
6	
7	//Ponemos en blanco el título de los links de la clase mod_events_monthyear
8	
9	$(".mod_events_monthyear a").attr("title","");
10	
11	//Cambiamos los links del icono del logo y de la página de inicio en el breadcrumb
12	
13	var direc="http";
14	if (window.location.href.indexOf("https://") > -1) {
15		direc+="s";
16	}
17	direc+="://"+window.location.hostname+"/index.php/";
18	if (window.location.href.indexOf("/cas/") > -1) {
19		direc+="cas/agenda";
20	}
21	else {
22		direc+="eus/agenda";
23	}
24	$(".logo>a").attr("href",direc);	
25	$(".breadcrumb li.breadcrumb-item a.pathway:first").attr("href",direc);
26	
27	//Calculamos el elemento con la altura más grande
28	
29	var heights = $(".mod_events_latest").map(function ()
30    {
31        return $(this).height();
32    }).get();
33	
34	//Le sumamos 32 por el padding y el margen
35	
36	maxHeight = Math.max.apply(null, heights)+32;
37	
38	//Contamos el número de elementos
39	
40	var numelementos=($(".mod_events_latest").length);
41	
42	//Si hay al menos 1 hacemos un bucle para cambiar el min-height de cada uno por la altura del elemento con clase mod_events_latest más grande
43	
44	if (numelementos>0) {
45		for (var i=1;i<numelementos+1;i++) {
46			$(".mod_events_latest:nth-child("+i+")").css("min-height",maxHeight+"px");	
47		}
48	}
49	
50});
51

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.