PageSourceSearch

https://ip-com.com.cn/public/js/productCategory6.js

js ip-com.com.cn collected 2026-09-25 03:59:42 UTC 3,166 bytes, 119 lines download raw bytes

1
2
3$(function () {
4
5
6    //¹Ø±Õ¹ýÂËÌõ¼þÏÂÀ­
7   $("body").click(function () { $(".FilerRow li").removeClass("on").find(".FR_Drop").stop().slideUp(0); })
8
9    //µ¯³ö¹ýÂËÏÂÀ­²Ëµ¥
10    $(".FilerRow li").click(function (event) {
11        event.stopPropagation();
12      //  $(this).siblings().removeClass("on").find(".FR_Drop").stop().slideUp(0);
13        $(this).toggleClass("on").find(".FR_Drop").stop().slideToggle();
14
15    });
16    //¹ýÂËʱ
17    $(".chkInCategory").click(function () {
18
19
20        var noResultsMsg = $('.nullResult');/*ûÓвúƷʱÌáÐÑ¿ò*/
21
22        var selected = $("input.chkInCategory:radio:checked");
23        var selectedAll = $("input.chkInCategoryAll:radio:checked");
24
25        var list = $('.FilterProduct');
26        var len = selected.length;
27        var lenAll = selectedAll.length;
28        len = len - lenAll;
29
30     
31
32
33
34            var str = "";
35             
36            selected.each(function () {
37
38                if ($(this).val()!="")str += "[data-filter*='" + $(this).val() + "']";/*ÀÛ»ýÊôÐÔ¹ýÂË*/
39
40            })
41        console.log("str=" + str);
42      
43            if (len > 0) {
44
45                str = str.toLowerCase();
46                
47                list.not(str).addClass("hide");
48                list.filter(str).removeClass("hide");
49
50                if (list.filter(str).length > 0) {
51                    noResultsMsg.addClass("hide");
52
53                }
54                else {
55                    noResultsMsg.removeClass("hide");
56
57                }
58
59
60            } else {
61
62                noResultsMsg.addClass('hide');
63
64                list.removeClass("hide");
65            }
66
67        //$(this).parents(".FR_Drop").stop().slideToggle();
68
69
70    })
71
72
73
74
75
76    /* SIDE NAVIGATION */
77
78
79    $(".hamburger_menu > a").on("click", function (e) {
80        e.preventDefault();
81        $(".slide-bar").toggleClass("show");
82        $("body,html").addClass("noscroll");
83        $('.body-overlay').addClass('active');
84        $(this).addClass('active');
85    });
86
87    $('#dismiss, .overlay').on('click', function () {
88        $('#sidebarleft').removeClass('active');
89        $('#sidebarright').removeClass('active');
90        $('.overlay').removeClass('active');
91        $('body,html').removeClass('noscroll');
92        $('.navi-menu-button').removeClass('active');
93    });
94
95
96    $('#sidebarleftbutton').on('click', function () {
97        $('#sidebarleft,.navi-menu-button').addClass('active');
98        $('.overlay').addClass('active');
99        $('body,html').addClass('noscroll');
100    });
101
102    $(".close-mobile-menu > a").on("click", function (e) {
103        e.preventDefault();
104        $(".slide-bar").removeClass("show");
105        $('body,html').removeClass("noscroll");
106        $('.body-overlay').removeClass('active');
107        $('.hamburger_menu > a').removeClass('active');
108    });
109
110    $('.body-overlay').on('click', function () {
111        $(this).removeClass('active');
112        $(".slide-bar").removeClass("show");
113        $('body,html').removeClass("noscroll");
114        $('.hamburger-menu > a').removeClass('active');
115    });
116
117
118
119})

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.