PageSourceSearch

https://imco.org.mx/wp-content/themes/imco/js/search.js

js imco.org.mx collected 2026-09-24 08:48:49 UTC 1,033 bytes, 40 lines download raw bytes

1$(function(){
2// Initialise checkboxes
3$('input').iCheck();
4// Action on checkbox is checked
5$('input').on('ifChecked', function (event){
6    $(this).parents("form").submit();          
7});
8// Action on checkbox is unchecked
9$('input').on('ifUnchecked', function (event) {
10    $(this).parents("form").submit(); 
11});
12// Open and close filters
13$('.filter_header').click(function(){
14	var ob = $(this);
15	var parent = ob.parents('.filter_container');
16	var body = parent.find('.filter_body');
17	if(!parent.hasClass('area_filter')){
18	if(!body.is(':visible')){
19		body.stop().slideDown();
20		parent.addClass('open');
21	}else{
22		body.stop().slideUp();
23		parent.removeClass('open');
24	}
25	}
26});
27// Open and close general filters
28$('.search_sidebar_header').click(function(){
29	var ob = $(this);
30	var parent = ob.parents('.search_sidebar_wrapper');
31	var body = parent.find('.filters_container');
32	if(!body.is(':visible')){
33		body.stop().slideDown();
34		parent.addClass('open');
35	}else{
36		body.stop().slideUp();
37		parent.removeClass('open');
38	}
39});
40});

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.