PageSourceSearch

https://bjcma.com/2024/beiyin/js/web.js

js bjcma.com collected 2026-09-24 21:25:42 UTC 1,438 bytes, 68 lines download raw bytes

1$(document).ready(function(){
2
3	$(".nav_btn").click(function(){
4		$(this).toggleClass("close");
5		$(".nav").slideToggle(200);
6	});
7
8	$(".searchBtn").click(function(){
9		$(".searchbj").fadeIn();
10		$(".searchMain").fadeIn();
11	});
12
13	$(".searchbj").click(function(){
14		$(".searchbj").fadeOut();
15		$(".searchMain").fadeOut();
16	});
17
18	$('.hcnav li').mouseover(function(){
19		$(this).addClass("on").siblings().removeClass("on");
20		$(".hotTab .hide").hide().eq($('.hcnav li').index(this)).show();
21	});
22
23	$(".dbBtn a").click(function(){
24		var name=$(this).data("name");
25		$(".pupupbj").fadeIn();
26		$("."+name).fadeIn();
27	});
28
29	$(".pupupbj").click(function(){
30		$(".pupupbj").fadeOut();
31		$(".pupup").fadeOut();
32	});
33
34	function DoTop(){
35		$(".go-top").click(function(){
36			$("body,html").animate({
37				"scrollTop":"0px"
38			},300)
39		});
40	}
41	DoTop();
42
43	var isScroll = {
44		init: function (_el) {
45			this.start(_el);
46			$(window).on('scroll', function () {
47				isScroll.start(_el)
48			});
49		},
50	
51		start: function (_el) {
52			var self = this;
53			$(_el).each(function () {
54				var _self = $(this);
55				var isScrollTop = $(window).scrollTop();
56				var isWindowHeiget = $(window).height() * 0.75;
57				var _class = $(this).data('animation');
58				if (isScrollTop + isWindowHeiget > $(this).offset().top) {
59					_self.addClass(_class);
60				}
61			});
62		}
63	}
64	
65	isScroll.init('.animated');
66	
67
68});

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.