PageSourceSearch

https://fundacionjuanmunizzapico.org/js/destacadoMultipleVertical_ancho.js

js fundacionjuanmunizzapico.org collected 2026-10-02 13:33:07 UTC 2,192 bytes, 60 lines download raw bytes

1var arrFotosVerticales = new Array();
2
3function pintafotovertical(n,num) {
4var total = arrFotosVerticales.length - 2;
5var anterior = n-1;
6var siguiente = n+1;
7var limite_for = ((arrFotosVerticales.length -1) < 4) ? (arrFotosVerticales.length -1) : 4;
8//alert(arrFotosVerticales.length);
9//alert('total'+total+'anterior'+anterior+'siguiente'+siguiente);
10var f_slides = '';
11if(n != 1)
12	f_slides += '<a href="JavaScript:pintafotoverticalnorota(' + anterior + ')" class="MMVstop">Anterior</a>';
13else
14	f_slides += '<a href="JavaScript:pintafotoverticalnorota(' + n + ')" class="MMVstop">Anterior</a>';
15f_slides += '<div class="MMV_slides">';
16for(i = n,pos=1;pos <= limite_for;i++,pos++){
17	datos = arrFotosVerticales[i].split('##');
18	var clasefotoactiva = i == num ? 'class="activo"' : '';
19	f_slides += '<span id="MMVfoto' + pos +'" ' + clasefotoactiva + '><a href="JavaScript:pintafotograndenorota(' + i +')" title=""><img src="' + datos[0] +'" alt="" /></a><span class="MMVico"></span></span>';
20}	
21
22if(siguiente < total)
23	f_slides += '<a href="JavaScript:pintafotoverticalnorota(' + siguiente + ')" class="MMVsbottom">siguiente</a>';
24f_slides += '</div>';
25
26window.document.getElementById('MMVfotosslides').innerHTML = f_slides;
27}	
28
29function pintafotogrande(num){
30	datos = arrFotosVerticales[num].split('##');
31	window.document.getElementById('MMV_photo').innerHTML = '<a href=' + datos[3] + '><img src="'+ datos[2] + '" /></a>';
32
33	if(noticias = window.document.getElementById('fotonoticiaV-3')) {
34			for(inoticia in noticias.childNodes) {
35				noticia = noticias.childNodes[inoticia];
36				
37				if((typeof(noticia.id) != "undefined") && (noticia.id.indexOf('fotonoticiaV-3-') == 0))
38					noticia.style.display = "none";
39			}
40			if(noticia = window.document.getElementById('fotonoticiaV-3-' + num ))
41				noticia.style.display = "";
42	}
43	pintafotovertical(1,num);
44}
45var timeOut;
46function rotavertical(num) {
47	pintafotogrande(num);
48	num++;
49	if(num>4)
50		num=1;
51	timeOut = window.setTimeout("rotavertical("+ num +")", 10000);
52}
53function pintafotoverticalnorota(num) {
54	clearTimeout(timeOut);
55	pintafotovertical(num);
56}
57function pintafotograndenorota(num) {
58	clearTimeout(timeOut);
59	pintafotogrande(num);
60}

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.