PageSourceSearch

https://kclassicnews.com/data/skin/layout/1/m20/images/js/style.js

js kclassicnews.com collected 2026-10-08 05:55:49 UTC 1,570 bytes, 57 lines download raw bytes

1//======================================================== Fixed banner
2jQuery11(function(){
3	
4	jQuery11(window).scroll(function(){
5		
6		var banTopFix = jQuery11(this).scrollTop();
7		var sb_height = jQuery11('.stt_banner_wrap').outerHeight();
8		var tn_height = jQuery11('.top_nav').outerHeight();
9		var hd_height = jQuery11('#header').outerHeight();
10		var hc_height =	jQuery11('.head_cen').outerHeight();
11		var total = tn_height + hd_height + sb_height + hc_height + 20;
12		
13		if(banTopFix >= total){
14			jQuery11('.fix_banner_wrap').css({
15				"position": "fixed",
16				"top": "20px"
17			});
18		}
19		else {
20			jQuery11('.fix_banner_wrap').css({
21				"position": "relative",
22				"top": "0"
23			});
24		}
25		
26	});
27	
28	jQuery11(window).scroll(function(){
29		
30		var banTopFix02 = jQuery11(this).scrollTop();
31		var sb_height02 = jQuery11('.stt_banner_wrap02').outerHeight();
32		var tn_height02 = jQuery11('.top_nav').outerHeight();
33		var hd_height02 = jQuery11('#header').outerHeight();
34		var hc_height02 =	jQuery11('.head_cen').outerHeight();
35		var total02 = tn_height02 + hd_height02 + sb_height02 + hc_height02 + 20;
36		
37		if(banTopFix02 >= total02){
38			jQuery11('.fix_banner_wrap02').css({
39				"position": "fixed",
40				"top": "20px"
41			});
42		}
43		else {
44			jQuery11('.fix_banner_wrap02').css({
45				"position": "relative",
46				"top": "0"
47			});
48		}
49		
50	});
51
52});
53
54//======================================================== checkbox, radio style
55jQuery11(function() {
56	jQuery11('input[type=checkbox], input[type=radio]').iCheck();
57});

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.