PageSourceSearch

https://shop.sqcf.org/js/site_widget.js?1616721332

js sqcf.org collected 2026-09-24 10:12:51 UTC 1,020 bytes, 36 lines download raw bytes

1var SITE_WIDGET = function(){
2	var fixed_header_section;
3	var new_fixed_header;
4	var widget_top_position;
5	var header_height = 0;
6
7	var move_to_widget_position = function(widget_id){
8		$(window).load(function(){
9			// 스크롤 고정 메뉴 확인
10			fixed_header_section = $("._fixed_header_section");
11			if(fixed_header_section.length > 0){
12				for(var i = 0; i < fixed_header_section.length; i++){
13					header_height += 2 * fixed_header_section[i].offsetHeight;
14				}
15			}
16			// 상단 고정 메뉴 확인
17			new_fixed_header = $('#doz_header_wrap').find('._new_fixed_header');
18			if(new_fixed_header.length > 0){
19				header_height += new_fixed_header.height();
20			}
21			var $pos_widget = $('#'+widget_id);
22			if($pos_widget.length > 0){
23				// 위젯 위치 세팅
24				widget_top_position = $('#'+widget_id).offset().top;
25				$(window).scrollTop(widget_top_position - header_height -15);
26			}
27
28		});
29	};
30
31	return{
32		'move_to_widget_position' : function(widget_id){
33			move_to_widget_position(widget_id);
34		}
35	}
36}();

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.