PageSourceSearch

https://www.irta.cat/wp-content/themes/irta/assets/js/header.js?ver=20260924085859

js irta.cat collected 2026-09-24 09:01:21 UTC 798 bytes, 28 lines download raw bytes

1
2
3$(document).ready(function() {
4    $('.search-txt').on('keyup', function() {
5        if ($(this).val() != '') $('.hdr-saerch').addClass('active')
6        else $('.hdr-saerch').removeClass('active')
7    })
8
9    setTimeout(function() {
10        var $items = $('#cbp-hrmenu > ul > li');
11        if (!$items.length) return;
12
13        $items.children('a').off('mouseover');
14        $items.off('mouseover');
15        $('body').off('mouseover');
16
17        $items.on('mouseenter.hdrmenu', function() {
18            $('body').off('mouseover');
19            $items.not(this).removeClass('cbp-hropen');
20            $(this).addClass('cbp-hropen');
21        });
22
23        $items.on('mouseleave.hdrmenu', function() {
24            $(this).removeClass('cbp-hropen');
25        });
26    }, 0);
27
28})

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.