PageSourceSearch

https://www.masan.ac.kr/resources/_Templet/Main/main_kor/Js/layout_main.js

js masan.ac.kr collected 2026-09-29 12:36:45 UTC 3,386 bytes, 133 lines download raw bytes

1////////////////////////////////////////////////////
2var _thisSite = {};	var _thisPage = {};
3var _isLowBr_ = false,_isMobile_ = false;
4var _thisPage_cfg  = {};
5
6//레이아웃 셋팅(로딩완료된 후에만 1번만 처리)
7function initPageLayout(){
8	_setLayoutFooter();
9}
10
11//레이아웃 리셋
12function resetPageLayout(){
13	mainNavi._reset();
14	_resetFooterHeight();
15
16	//팝업이미지 리사이징에 따른 높이 처리
17	if($(".top-wide-popups").attr("isOpen")=="1"){
18		resetTopWidePopups();
19	}
20}
21
22//레이아웃 높이 리셋
23function resizePageLayoutHeight(){
24}
25
26//윈도우 회전시 실행할 함수
27function setWindowRotation(){
28	if(typeof(thisPageRotation)=="function" && thisPageRotation!=undefined){  thisPageRotation(); }
29	else {
30		//기본 회전시 실행할 함수
31		//resetPageLayout();
32	}
33}
34
35//document.addEventListener('DOMContentLoaded', loaded, false);
36if('onorientationchange' in window){
37	window.addEventListener('onorientationchange', setWindowRotation, false);
38}
39////////////////////////////////////////////////////
40$(document).ready(function(){
41	//console.log("1.Ready");
42
43	//initPageCssFiles();
44	try{getWindowSize();	}catch(e){}
45	try{getPageSize();	}catch(e){}
46	if(_isMobile_) $alertLoading("Page Loading...");
47	try{setLowBrowser();	}catch(e){	}
48	try{setMediaObjectFunc();	}catch(e){	}
49	try{ _thisLayout_style = getPageStyle(); }catch(e){}
50	initNavigation();
51	docLoading(function(){
52		//console.log("3.docLoad");
53		initImgSizeInfo();
54		initPageLayout();
55	});
56});
57$(window).load(function(){
58	//console.log("2.Load");
59});
60$(window).resize(function(e){
61	//var resizeTimeGap = (_isLowBr_)?  250 : 10;
62	var resizeTimeGap = 10;
63	if(_isLowBr_) resizeTimeGap=100;
64	clearTimeout(window.resizeEvt);
65	window.resizeEvt = setTimeout(function()
66	{
67		//console.log("Resize" );
68		getWindowSize();
69		getPageSize();
70		try{
71		if(old_wsize.win== undefined ||  wsize.win.w!=old_wsize.win.w){
72			resetPageLayout();
73		}else{
74			resizePageLayoutHeight();
75		}
76		}catch(e){
77			resetPageLayout();
78		}
79	}, resizeTimeGap);
80});
81
82
83/*
84$(function(){
85	//mVisual.init();
86});
87var mVisual = {
88	init : function(){
89		//this.mVisSlide();
90	},
91	mVisSlide : function() {
92		var mVisSld = $("#mvisual-wr .datalist");
93		var mVisLen = $(".item", mVisSld ).length;
94		var mVisCtrl = mVisSld.next();
95		var mVisAuto = $(".ctrl-auto", mVisCtrl );
96		var mVisDot = $(".ctrl-dots", mVisCtrl );
97		var mVisDelay = 5000;
98		var mVisSpeed = 200;
99		if ( mVisLen == 1 && $(".item", mVisSld ).hasClass("no-data") ) {
100			// no-data
101		} else {
102			// not-no-data
103		}
104		mVisCtrl.addClass("has"+mVisLen);
105		mVisSld.owlCarousel({
106			items : 1
107			, loop : true
108			, autoplay : true
109			, animateOut : "fadeOut"
110			, nav : false
111			, autoplayTimeout : mVisDelay
112			, autoplayHoverPause : false
113			, dots: true
114			//, dotsEach: true
115			//, dotsContainer: mVisDot
116			, smartSpeed : mVisSpeed
117			, touchDrag : false
118			, mouseDrag : false
119			, responsiveRefreshRate : 0
120		});
121		$(".btn-stop", mVisAuto ).on("click",function(){
122			$(this).hide();
123			$(this).next().show().focus();
124			mVisSld.trigger("stop.owl.autoplay");
125		});
126		$(".btn-play", mVisAuto ).on("click",function(){
127			$(this).hide();
128			$(this).prev().show().focus();
129			mVisSld.trigger("play.owl.autoplay", [mVisDelay]);
130		});
131	}
132}
133*/

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.