프레임을 이용한 프리로딩페이지 구현
페이지 정보
조회
18,757
본문
자세한 것은 링크를 보시면 이해하실 것 같습니다.
<html>
<head>
<title>로딩중...</title>
<script>
function showMain () {
var obj = document.getElementById('frameSet');
obj.rows = '0,100%';
}
</script>
</head>
<frameset rows="100%,0" border="0" id="frameSet">
<frame src="loading.html" name="hidden" noresize>
<frame src="main.html" name="main" noresize>
</frameset>
</html>
loading.html 은 프리로딩 페이지
main.html 에서
<body onLoad="parent.showMain();">
와 같이 사용하시면 됩니다.
관련자료
-
링크
등록된 댓글이 없습니다.