PageSourceSearch

https://eventourcordoba.es/wp-content/themes/eventour/js/scripts.js?ver=1.0.0

js eventourcordoba.es collected 2026-10-02 13:38:39 UTC 2,222 bytes, 72 lines download raw bytes

1jQuery(document).ready(main);
2
3var contador = 1;
4
5function main() {
6    jQuery('#menu-burger').click(function() {
7        jQuery(this).toggleClass('open');
8
9        if (contador == 1) {
10            jQuery('#site-navigation-responsive').css({ "display": "block" });
11            contador = 0;
12        } else {
13            contador = 1;
14            jQuery('#site-navigation-responsive').css({ "display": "none" });
15        }
16
17    });
18
19    jQuery('ul.sub-menu').hide();
20    jQuery('ul.menu > li.menu-item-has-children, ul.sub-menu > li').hover(function() {
21        if (jQuery('> ul.sub-menu', this).length > 0) {
22            jQuery('> ul.sub-menu', this).stop().slideDown('slow');
23        }
24    }, function() {
25        if (jQuery('> ul.sub-menu', this).length > 0) {
26            jQuery('> ul.sub-menu', this).stop().slideUp('slow');
27        }
28    });
29
30    jQuery(window).scroll(function() {
31        if (jQuery(this).scrollTop() > 100) {
32            jQuery('.seo-content-1:not(.large)').addClass('short');
33        }
34    });
35
36    // SEO Box
37    if (jQuery('#llamar-seo-1').length > 0) {
38        jQuery('#llamar-seo-1').on('click', function(e) {
39            e.preventDefault();
40
41            if (jQuery('.seo-content-1').hasClass('short')) {
42                jQuery('.seo-content-1').removeClass('short');
43                jQuery('.seo-content-1').addClass('large');
44            } else {
45                jQuery('.seo-content-1').removeClass('large');
46                jQuery('.seo-content-1').addClass('short');
47            }
48        });
49    }
50    jQuery(window).scroll(function() {
51        if (jQuery(this).scrollTop() > 100) {
52            jQuery('.seo-content-2:not(.large)').addClass('short');
53        }
54    });
55
56    // SEO Box
57    if (jQuery('#llamar-seo-2').length > 0) {
58        jQuery('#llamar-seo-2').on('click', function(e) {
59            e.preventDefault();
60
61            if (jQuery('.seo-content-2').hasClass('short')) {
62                jQuery('.seo-content-2').removeClass('short');
63                jQuery('.seo-content-2').addClass('large');
64            } else {
65                jQuery('.seo-content-2').removeClass('large');
66                jQuery('.seo-content-2').addClass('short');
67            }
68        });
69    }
70
71
72};

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.