PageSourceSearch

http://casamerica.es/themes/casamerica/js/components/menu.js?v=1.1

js casamerica.es collected 2026-10-02 05:18:54 UTC 1,271 bytes, 48 lines download raw bytes

1(function ($) {
2  'use strict'
3 $('#superfish-menu-menu-superior-2 > li .menuparent ').click(function (e) {
4    e.preventDefault();
5   console.log('hijo');
6
7  });
8  $('#superfish-menu-menu-superior-2 > li .sf-no-children ').click(function (e) {
9   // e.preventDefault();
10   console.log('hijo');
11
12  });
13  $('#superfish-menu-menu-superior-2 > li .menuparent ').mouseenter(function (e) {
14    console.log('padre');
15    e.preventDefault();
16
17  });
18  $('#superfish-menu-menu-superior-2 > li .sf-no-children ').mouseenter(function (e) {
19    e.preventDefault();
20   console.log('hijo');
21
22  });
23  $('#superfish-menu-menu-superior-2 > li:last > a').click(function (e) {
24    console.log('último elemnto del la lista');
25 //   e.preventDefault();
26  });
27   $('a.smooth').click(function(e) {  
28       e.preventDefault();
29        var link = $(this);  
30        var anchor  = link.attr('href');  
31        
32        $('html, body').animate({  
33            scrollTop: $(anchor).offset().top - 150
34        }, 2000);
35    });  
36
37   
38    $(window).scroll(function () {
39        if ($(this).scrollTop() > 80) {
40
41            $('#header').addClass("fixed");
42        } else {
43            $('#header').removeClass("fixed");
44        }
45    });
46
47})(jQuery)
48

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.