웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
홈페이지에 배경 음악 항상 흐르게 하기 (숨김프레임)
2003.08.13 22:25
http://mytemplate.net
항상 음악이 흐르게 할수 도 있지만 주소창에 지져분한 주소를 숨길수 도 있고
팝업창을 띄운다든지 여러가지 꽁수를 발휘 할 수 있습니다
이방법은 숨겨진 프레임을 통하여 음악을 들려주는것입니다
일단 HTML 파일이 3장이 필요합니다
1. 인덱스 파일 ----------- index.html
2. 본문을 보여줄 파일 ----- main.html
3. 음악을 실행 파일 ----- hidden.html
<!-------------------- index.html---------------------->
<html>
<head>
<title>마이템플릿</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="100,0" frameborder="NO" border="0" framespacing="0" >
<frame name="main" src="main.html">
<frame name="hidden" scrolling="AUTO" noresize src="hidden.html" marginwidth="0" marginheight="0">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
브라우저 좀 제발 요즘 것 사용하세요
</body>
</noframes>
</html>
<!-------------------- hidden.html---------------------->
<html>
<body>
<embed src="음악파일경로.확장자" autostart="true" loop="true" volume="50">
</body>
</html>
<!-------------------- main.html---------------------->
<html>
<head>
<title>본문내용</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body>
안녕하세요 제 홈페이지 방문 감사합니다
여기다가 본문 내용 적습니다
</body>
</html>
-출처-
http://mytemplate.net
3,000 여개의 웹디자인템플릿을 만나보십시요
항상 음악이 흐르게 할수 도 있지만 주소창에 지져분한 주소를 숨길수 도 있고
팝업창을 띄운다든지 여러가지 꽁수를 발휘 할 수 있습니다
이방법은 숨겨진 프레임을 통하여 음악을 들려주는것입니다
일단 HTML 파일이 3장이 필요합니다
1. 인덱스 파일 ----------- index.html
2. 본문을 보여줄 파일 ----- main.html
3. 음악을 실행 파일 ----- hidden.html
<!-------------------- index.html---------------------->
<html>
<head>
<title>마이템플릿</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="100,0" frameborder="NO" border="0" framespacing="0" >
<frame name="main" src="main.html">
<frame name="hidden" scrolling="AUTO" noresize src="hidden.html" marginwidth="0" marginheight="0">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
브라우저 좀 제발 요즘 것 사용하세요
</body>
</noframes>
</html>
<!-------------------- hidden.html---------------------->
<html>
<body>
<embed src="음악파일경로.확장자" autostart="true" loop="true" volume="50">
</body>
</html>
<!-------------------- main.html---------------------->
<html>
<head>
<title>본문내용</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body>
안녕하세요 제 홈페이지 방문 감사합니다
여기다가 본문 내용 적습니다
</body>
</html>
-출처-
http://mytemplate.net
3,000 여개의 웹디자인템플릿을 만나보십시요