PageSourceSearch

https://www.sfaa.com.cn/_upload/tpl/00/0c/12/template12/js/comcus.js

js sfaa.com.cn collected 2026-10-07 13:16:27 UTC 1,585 bytes, 52 lines download raw bytes

1$(function() {
2    $(".search-submit").click(function(event) {
3        $(this).removeAttr("name");
4        event.preventDefault();
5        var val = $.trim($(".search-title").val());
6        if (val !== "") {
7            $(".wp-search").find("form").submit();
8        } else {
9            alert("请输入关键词");
10        }
11        return false;
12    });
13    /*刷新自动回顶*/
14$("html,body").animate({
15        scrollTop: 0,
16        screenLeft: 0,
17    }, 400); 
18    /*导航*/
19    /*$.fn.sudyNav = function(){};
20	$(".wp-menu li").hover(function() {
21		$(this).siblings().find('.sub-menu').stop(true,true).slideUp(150)
22		$(this).children('.sub-menu').stop(true,true).slideDown(200);
23		$(this).addClass('hover');
24	}, function() {
25		$(this).children('.sub-menu').stop(true,true).slideUp(150);
26		$(this).removeClass('hover');
27    });
28	
29	$(".wp-menu li").each(function(){
30		$(this).children(".menu-switch-arrow").appendTo($(this).children(".menu-link"));
31	});*/
32
33
34    /*媒体链接*/
35    $(".shares li").each(function() {
36        $(this).children("a").hover(function() {
37            $(this).parent().find(".con").stop(true, true).fadeIn();
38        }, function() {
39            $(this).parent().find(".con").stop(true, true).fadeOut();
40        });
41    });
42    //$(".nav .sub-menu").parent("li.menu-item.hover").parents(".header").toggleClass("openSubNav");
43
44
45    $(".nav_btn").click(function() {
46        $(".btn-navcon").addClass("on");
47    });
48    $(".close").click(function() {
49        $('.btn-navcon').removeClass('on')
50    })
51
52});

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.