PageSourceSearch

https://www.eslahoradelastortas.com/blog/core/views/132f8cb435/js/main.js

js eslahoradelastortas.com collected 2026-10-02 08:01:31 UTC 2,651 bytes, 103 lines download raw bytes

1jQuery(document).ready(function($){
2  $(window).scroll(function(){
3            if($(this).scrollTop() > 90){
4                $('.header').addClass('sticky')
5            } else{
6                $('.header').removeClass('sticky')
7            }
8        });
9  $(".search-container .search-button").click(function(){
10    $(".search-form-container").toggle();
11
12  });
13  
14  $("#carousel-next").click(function(){  
15    var pos=$("#carousel").css('left');
16    pos=parseInt(pos.slice(0, -2));
17    var nextPos=pos-501;
18    if(nextPos>=-4008){
19      nextPosText=nextPos+'px';
20      $("#carousel").animate({left:  nextPosText}, "slow");
21       $("#carousel-prev").show();
22       if(nextPos==-4008){
23        $("#carousel-next").hide();
24      }
25    }
26   
27
28    
29  });
30  $("#carousel-prev").click(function(){  
31    var pos=$("#carousel").css('left');
32    pos=parseInt(pos.slice(0, -2));
33    var nextPos=pos+501;
34    if(nextPos<=0){
35      nextPosText=nextPos+'px';
36      $("#carousel").animate({left:  nextPosText}, "slow");
37      $("#carousel-next").show();
38      if(nextPos==0){
39        $("#carousel-prev").hide();
40      }
41    }
42    
43
44    
45  });
46var pressed=false;
47	$(".menu-mobile").click(function(){
48		if(pressed==false){
49			$(this). attr("aria-pressed","true");
50			pressed=true;
51		}
52		else{
53			$(this). attr("aria-pressed","false");
54			pressed=false;
55		}
56		$(".main-menu").toggleClass("mobile-hidden");
57		
58
59
60	});
61  $(".main-footer .archives").change(function(){
62    var url=
63    window.location.assign($(".main-footer .archives").val()); 
64  });
65
66
67	$('#footer-transparencia').on("click", function(e) {
68
69      e.preventDefault();
70      $('#footer-legal').parent().removeClass("active");
71      if ($(this).parent().hasClass("active")){
72        $(this).parent().removeClass("active");
73      }
74      else {
75        $(this).parent().addClass("active");
76      }
77
78    });
79    $('#footer-transparencia').on("focus", function(e) {
80
81      $('#footer-transparencia').click();
82
83      });
84  $('#footer-legal').on("click", function(e) {
85      e.preventDefault();
86      $('#footer-transparencia').parent().removeClass("active");
87      if ($(this).parent().hasClass("active")){
88        $(this).parent().removeClass("active");
89      }
90      else {
91        $(this).parent().addClass("active");
92      }
93
94    });
95    $('#footer-legal').on("focus", function(e) {
96        $('#footer-legal').click();
97      });
98      $('.menu-footer .first-level-item:not(.drop-down) > a').on("focus", function(e) {
99
100          $('.menu-footer .first-level-item').removeClass("active");
101
102        });
103});

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.