PageSourceSearch

https://www.parlamento.pt/_controltemplates/15/BUserControls/ARWWW2017UserControls/js/Controls.js

js parlamento.pt collected 2026-09-24 08:40:28 UTC 1,633 bytes, 45 lines download raw bytes

1
2jQuery(document).ready(function ()
3{
4
5    var segudoLvl = document.querySelectorAll("[data-sel]");
6    var LastLvl = document.querySelectorAll("[data-act]");
7    var txt = $(segudoLvl).parent().parent().parent().parent().parent().attr('id');
8    if (txt != null && txt != 'undefined') {
9        var id = txt.match(/\d/g);
10        id = id.join("");
11        var click = 'a#' + id;
12        $(click).click();
13        $(segudoLvl).click()
14        $(segudoLvl).parent().addClass("active");
15        $(LastLvl).parent().addClass("active");
16    }
17
18    jQuery('#menubutton').on('click', function (event) {
19        jQuery('#menusearch').toggle();
20        jQuery('#menubutton').toggle();
21        jQuery('#SearchOptions').css('display', "none");
22        jQuery('#menuback').css('visibility', "visible");
23        jQuery('#accordion0').removeClass("collapse");
24    });
25    jQuery('#menuback').on('click', function (event) {
26        jQuery('#menusearch').css('display', "none");
27        jQuery('#menubutton').css('display', "block");
28        jQuery('#menuback').css('visibility', "hidden");
29        jQuery('#SearchOptions').css('display', "none");
30        jQuery('#accordion0').addClass("collapse");
31    });
32    jQuery('#menusearch').on('click', function (event) {
33        jQuery('#SearchOptions').toggle();
34        jQuery('#menusearch').toggle();
35        jQuery('#menubutton').toggle();
36        jQuery('#menuback').css('visibility', "visible");
37        jQuery('#accordion0').addClass("collapse");
38    });
39
40    window.rsConf = {
41        settings: {
42            hlicon: 'iconoff'
43        }
44    };
45});

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.