PageSourceSearch

https://paisatgesculturals-rsm.org/scripts_js/codigo.js

js paisatgesculturals-rsm.org collected 2026-09-27 10:31:09 UTC 2,074 bytes, 67 lines download raw bytes

1$(document).ready(function(){
2    if ($('#img_contenidos').length){
3    	$('#img_contenidos').insertAfter("h3");
4    	$('#img_contenidos').show();
5    }
6    
7    $(".tooltip").css({"bottom":"40px", opacity: 1});
8    
9    $('input[type=hidden]').each(function(){
10        $("a."+$(this).attr("class")+" span.tooltip").html($(this).val());
11    });
12    
13    $(".tooltip_txt").hover(
14      function () {
15        $(this).find("span.tooltip").css({"display":"inline"});
16        $(this).find("span.tooltip").animate({
17            opacity: 1,
18            bottom: '13px',
19        },"fast");
20      }, 
21      function () {
22        $(this).find("span.tooltip").animate({
23            opacity: 0,
24            bottom: '40px',
25        },"fast", function() {
26            $(this).css("display","none");
27          });
28      }
29    );
30    
31});
32
33function avance_banner(valor) { 
34    var temp = "";
35	if(valor<0){
36		if(parseInt($("#margen_banner_actual").val())<0){
37			temp = parseInt($("#margen_banner_actual").val()) + 979;
38			//alert(temp);
39			$('#banner_top_content').animate({marginLeft: temp+'px'}, 300);
40			$('#margen_banner_actual').val(temp);
41		}
42	}else{
43		if(parseInt($("#margen_banner_actual").val())>$("#margen_banner_max").val()){
44			temp = parseInt($("#margen_banner_actual").val()) - 979;
45			//alert(temp);
46			$('#banner_top_content').animate({marginLeft: temp+'px'}, 300);
47			$('#margen_banner_actual').val(temp);
48		}
49	}
50	switch (temp) {
51    	case 0:
52    	    $('#slider3').data('nivoslider').stop();
53    	    $('#slider2').data('nivoslider').stop();
54    	    $('#slider1').data('nivoslider').start();
55            break;
56        case -979:
57            $('#slider3').data('nivoslider').stop();
58    	    $('#slider1').data('nivoslider').stop();
59    	    $('#slider2').data('nivoslider').start();
60            break;
61        case -1958:
62            $('#slider1').data('nivoslider').stop();
63    	    $('#slider2').data('nivoslider').stop();
64    	    $('#slider3').data('nivoslider').start();
65            break;    	
66	}
67}

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.