PageSourceSearch

https://www.photonics-france.org/wp-content/themes/photonics/assets/js/evts.js?ver=1.0

js photonics-france.org collected 2026-10-06 02:14:02 UTC 2,083 bytes, 64 lines download raw bytes

1jQuery(function($) {
2
3    if ($("body.page-template-page-evts").length > 0) {
4        evtsFilters();
5    }
6
7    function evtsFilters(){
8        dataFilter("filter-category");
9        dataFilter("filter-year");
10        dataFilter("filter-tag");
11        dataFilter("filter-past");
12
13        $("#filter-category ul li a").on('click', function(){
14            $("#filter-year").attr('data-value','');
15            $("#filter-tag").attr('data-value','');
16        });
17        $("#filter-year ul li a").on('click', function(){
18            $("#filter-tag").attr('data-value','');
19        });
20        $("#filter-past a").on('click', function(){
21            //$("#filter-section").attr('data-value','');
22            $("#filter-category").attr('data-value','');
23            $("#filter-year").attr('data-value','');
24            $("#filter-tag").attr('data-value','');
25        });
26
27
28        $("#filter-category ul li a, #filter-year ul li a, #filter-tag ul li a, #filter-past a").on('click', function (e) {
29            loadEvts(0, 1);
30            this.blur();
31            return false;
32        });
33    }
34
35    function loadEvts(paged, replace){
36        jQuery('.list').addClass('loader');
37
38        jQuery.post(
39            shortinitajaxurl, {
40                'action': 'action',
41                'category': $("#filter-category").attr("data-value"),
42                'year': $("#filter-year").attr("data-value"),
43                'tag': $("#filter-tag").attr("data-value"),
44                'past': $("#filter-past").attr("data-value"),
45                'page': 'evts',
46                'paged': paged,
47                'init': replace
48            },
49            function(response){
50                jQuery('.list').removeClass('loader');
51                $(".list").html('');
52                $(response).hide().appendTo(".list").fadeIn(150);
53
54                evtsFilters();
55
56                // pager
57                $(".tool-pagination a").click( function(e){
58                    loadEvts($(this).attr("data-page"), 1);
59                    return false;
60                });
61            }
62        );
63    }
64});

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.