웹서버에 부담을 주지않고 홈페이지에 음악넣기 팁(프레임 이용)

제로보드나 티티보드등의 원프레임홈페이지에는 이 방법이 가장 좋습니다
프레임으로 분리해서 상단이나 하단에 뮤직플레이어를 넣고 메인프레임에는 홈페이지를 넣는 방법입니다

사용자 삽입 이미지


====================================================================

*이 방법은 제로보드 등으로 만든 원프레임(한개의 프레임으로 이루어진 사이트)홈페이지를 프레임셋으로

분리해서 끊김없는 음악재생이 가능하게 하는 방법입니다(원프레임 홈페이지에 아이프레임 방식으로 뮤직플레이

어를 넣을 경우는 사이트내에서 다른 페이지를 보려고 클릭할 때마다 음악이 잠시 끊기는 현상이 있는데

그것을 없애는 방법입니다.)

* 투명한(보이지 않는) 뮤직플레이어로 하시려면 뮤직플레이어가 든 프레임 사이즈를 0으로 하시면 됩니다.


홈페이지의 메인 index.htm 페이지를 프레임셋 소스를 이용해서 만들어 주고, 메인 index 파일 이름을 변경해주면

됩니다. 아래의 설명을 따라서 한번 해보세요
-------------------------------------------------------------------------------------------

1.원래의 홈페이지 메인 index.html 파일의 이름을 main.html ( htm 이 아니고 html 임)로 바꾸고 나서

2.첨부파일을 다운 받아 압축 푸시면 나오는 index.html 파일을 메모장으로 열어서

아래의 설명과 같은 위치에 main.html (위에서 이름을 바꾸어 두었던 것)의

인터넷 주소를 써넣고 저장시킨다.

3.위의 2번에서 수정한 그 index.html 파일을 웹서버( 원래의 메인 index.html 파일 있어야

할 곳) 에 대신 복사해 넣는다

-----------------------------------------------------------------------------------------
이하 2번 설명 관련

첨부파일을 압축풀면 나오는 index.html을 메모장으로 열면 아래와 같이 나옵니다.

<html>
<head>
<title>환영합니다</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="30,*" rows1="30,*" rows2_disabled="60,*" frameborder="0" framespacing="0" name="fst">
<frame src="http://music24.kr/aquamp/index.html" name="aquamp" frameborder="0" noresize>
<frame src="http://이곳에 자신의 홈페이지 main.html의 주소를 넣습니다or카페주소" frameborder="0" noresize>
</frameset>
</html>


-----------------------------------------------------------------------------------------

첨부파일

-----------------------------------------------------------------------------------------

위와 같이 하시고 홈페이지로 접속해 보시면, 맨위에 음악이 나오는 아쿠아 엠프가 생겼을 겁니다.

미리보기는 여기를 눌러보세요--> http://bgm.music24.kr



===========================================================================================


홈페이지 하단에 뮤직플레이어를 위치시키려면 아래의 소스로 대신하시면 됩니다


<html>
<head>
<title>환영합니다</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="*,30" rows1="*,30" rows2_disabled="60,*" frameborder="0" framespacing="0" name="fst">

<frame src="http://이곳에 자신의 홈페이지 main.html의 주소를 넣습니다or카페주소" frameborder="0" noresize>
<frame src=http://music24.kr/aquamp/footer.php name="aquamp" frameborder="0" noresize>
</frameset>
</html>


===========================================================================================



뮤직플레이어를 하단프레임에 넣을 때 스크롤바가 생기는 현상이 있더군요..

그 해결방법은 별도의 footer 프레임페이지를 만들어서 그곳에 아이프레임 방식으로 뮤직플레이어를 삽입하고

프레임셋 소스에서는 footer 페이지를 불러들이게 하면 됩니다.

아래에 프레임셋 과 푸터 프레임의 소스를 예제로 공개합니다.

---------------
프레임셋 소스
---------------
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>환영합니다.</title>

<base target="_self">
</head>

<frameset rows="100%, 30" border="0">
<frame src="이곳에 자신의 홈페이지 메인창 주소를 넣습니다" marginwidth="0" marginheight="0">
<frame src="http://music24.kr/aquamp/footer.php" scrolling="no" marginwidth="0" marginheight="0">
<noframes>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p>이 페이지를 보려면, 프레임을 볼 수 있는 브라우저가 필요합니다.</p>
</body>
</noframes>
</frameset>

</html>



--------------------
푸터(footer)소스
---------------------
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>환영합니다</title>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table align="center" style="WIDTH: 100%; HEIGHT: 30px" cellSpacing=0 >
<tr>
<td width="100%" height="30">
<IFRAME src="http://music24.kr/aquamp/index.html" width="100%" height="30" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></IFRAME>

</td>
</tr>
</table>
</body>

</html>





실제 적용된 사이트 --> http://11sadan.kr







============================================================

아래와 같은 모양으로 넣으시려면 아래의 소스로 대체하시면 됩니다.. 주황색글 부분이 바뀌는 것입니다

사용자 삽입 이미지





<html>
<head>
<title>환영합니다</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="30,*" rows1="30,*" rows2_disabled="60,*" frameborder="0" framespacing="0" name="fst">
<frame src="http://music24.kr/bgm/50.php" name="aquamp" frameborder="0" noresize>
<frame src="http://이곳에 자신의 홈페이지 main.html의 주소를 넣습니다or카페주소" frameborder="0" noresize>
</frameset>
</html>


============================================================


사용자 삽입 이미지




<html>
<head>
<title>환영합니다</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset rows="18, 1*" cols="1*" border="0">
<frame name="top" scrolling="no" marginwidth="0" marginheight="0" noresize src="http://music24.kr/bgm/1.php">
<frame name="main" scrolling="auto" marginwidth="0" marginheight="0" src="http://이곳에 자신의 홈페이지 main.html의 주소를 넣습니다or카페주소" noresize>
<noframes>
<body ></body>
</noframes>
</frameset>
</html>

============================================================

사용자 삽입 이미지



사용자 삽입 이미지



*음악이 끊김없이 나오게 하기 위한 뮤직플레이어를 넣는 방법에는 여러가지가 있습니다..

1.프레임으로 분류된 홈페이지에서는 고정된 좌측메뉴나 상단 메뉴에 아이프레임으로 넣는 방법

2.제로보드 등의 한개의 프레임(원프레임)으로 이루어진 홈피에서는 프레임셋을 이용해서
상단이나 하단 프레임에 뮤직플레이어를 넣고 메인프레임에 본래의 홈페이지를 넣는 방법

3.파란카페나 다음카페와 같은 곳에서는 팝업형 플레이어를 넣는 방법을 추천합니다.

위 세가지 방법에 대한 자세한 소개는 http://lovene.dnip.net 에 해두었습니다. 한번 둘러보세요..




아이프레임을 이용한 뮤직플레이어 넣기
==================================================================
*아이프레임 태그를 이용해서 홈페이지에 간단히 음악을 넣을 수 있습니다.
아래의 태그를 복사해서 홈페이지 body 소스의 적당한 부분에 복사해 넣으시면 됩니다.

*이 방법은 프레임으로 나뉜 홈피의 좌측메뉴나 상단, 하단에 적용해야 홈페이지상에서 음악의 끊김이 없습니다
원프레임 홈페이지에서는 다음 글에 설명된 프레임셋 이용하는 방법 이나 팝업형 뮤직플레이어(<-클릭)를 이용하세요

적용된 것 미리보기는 ---> ---> http://lovene.ohpy.com/
방법1-네모난 뮤직플레이어(<--클릭)


===================================================================================
아래의 소스를 홈페이지의 적당한 곳에 복사해서 넣으시면 됩니다
-----------------------------------------------------------------------------------

<table align="left" style="WIDTH: 159px; HEIGHT: 91px" borderColor=#e7e7e7 cellSpacing=0 cellPadding=2 border=1 >
<tr>
<td width="159" height="87">
<IFRAME src="http://bgm.music24.kr/bgm/16.php" width="159" height="87" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME> </td>
</tr>
</table>
------------------------------------------------------------------------------------






방법2-가로형식 길다란 빨간 뮤직플레이어(<--클릭)

사용자 삽입 이미지


=================================================================================
<table align="left" style="WIDTH: 800px; HEIGHT: 30px" cellSpacing=0 >
<tr>
<td width="800" height="30">
<IFRAME src="http://bgm.music24.kr/aquamp/index.html" width="800" height="30" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME>

</td>
</tr>
</table>
=====================================================================================


적용된 것 미리보기는 ---> ---> http://lovene.dnip.net


======================================================================================



방법3-깜찍한 미니 뮤직플레이어(<--클릭)

사용자 삽입 이미지






===================================================================================
아래의 소스를 홈페이지의 적당한 곳에 복사해서 넣으시면 됩니다
-----------------------------------------------------------------------------------

<table align="left" style="WIDTH: 141px; HEIGHT: 58px" borderColor=#e7e7e7 cellSpacing=0 cellPadding=2 border=0 >
<tr>
<td width="139" height="56">
<IFRAME src="http://bgm.music24.kr/mini_player.php" width="139" height="56" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME>
</td>
</tr>
</table>
------------------------------------------------------------------------------------


방법4-날씨배너 넣기

사용자 삽입 이미지












날씨배너 뮤직플레이어(팝업형)넣는 방법

좌측메뉴에서와 같은 뮤직플레이어가 팝업되는 날씨배너를 홈페이지에 넣으시려면

아래의 소스를 홈페이지의 body 소스 중의 적당한 곳에 복사해서 붙여 넣으시면 됩니다


===============================

<iframe src="http://bgm.music24.kr/weather.php" width="160" height="118" scrolling="no" frameborder="0" allowtransparency="true" allowTransparency="true"></iframe>

===============================





방법5-시계 넣기

사용자 삽입 이미지













시계는 아래의 소스를 붙여넣으시면 됩니다
-------------------------------------------------------------------------------------


<table align="center" style="WIDTH: 160px; HEIGHT: 160px" borderColor=#e7e7e7 cellSpacing=0 cellPadding=2 border=0 >
<tr>
<td width="160" height="160">
<IFRAME src="http://bgm.music24.kr/clock2.php" width="160" height="160" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME>
</td>
</tr>
</table>
------------------------------------------------------------------------------------


=====================================================================================


아래에는 홈페이지 소스에 적용한 예문입니다.참고하세요
---------------------------------------------------

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>따뜻한 음악이 있는 곳</title>

</head>

<body text="black" link="blue" vlink="purple" alink="red" leftmargin="0" topmargin="0">
<IFRAME src="http://bgm.music24.kr/aquamp/index.html" width="800" height="30" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME>

</html>


----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
*참고: 위의 소스 중에 leftmargin="0" topmargin="0" 이것을 홈페이지의 body 소스에 넣으면 여백이 없이 좌측상단에 딱 붙게 됩니다



방법6- 미니블랙 뮤직플레이어

사용자 삽입 이미지




위의 뮤직플레이어를 홈페이지에 넣으시려면 아래의 소스를 홈페이지의 body 적당한 곳에 붙여넣으심 됩니다

=========================================

<table align="left" style="WIDTH: 170px; HEIGHT: 24px" borderColor=#e7e7e7 cellSpacing=0 cellPadding=2 border=1 >
<tr>
<td width="170" height="24">
<IFRAME src="http://bgm.music24.kr/web/mini_black.php" width="170" height="24" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true"></IFRAME>
</td>
</tr>
</table>

=========================================





주의사항: * 수정이 잘못 될 경우 블로그가 망가진 모양으로 나오거나

블로그 자체에 접속이 않되기도 합니다

반드시아래 주의사항을 복사해 놓으시고 옆에 놓고 보면서스킨을 수정하십시오.

-----------------------------------------------------------

1.잘못된 스킨 초기화 방법2 -블로그에 접속자체가 않될 때
http://blog.paran.com의 내 블로그 소식 영역에서 [관리] 버튼을 누른 후 스킨 고르기 > 골라쓰는 스킨에서 원하는 스킨을 선택하시면 해당 스킨으로 설정됩니다.

-----------------------------------------------------------

2.잘못된 스킨 초기화 방법2 -블로그에 접속은 될 때

블로그 관리메뉴에 접속이 된다면 관리->스킨고르기 에서

적당한 스킨을 골라서 적용하시면 고쳐집니다.

-----------------------------------------------------------



파란블로그에 무료 음악플레이어를 위와 같이 다시려면

블로그 관리메뉴에서 --> 디자인 관리--> HTML꾸미기 --->HTML 직접수정 버튼을 누르시고 스킨영역 html 코드 편집하기 눌러서 적당한 곳에 아래의 소스를 넣으시면 됩니다

BGM 을 넣기 좋은 위치를 찾는 법-->HTML 직접꾸미기 영역에서 ctrl+f 눌러 찾기창을 띄운후에

아래 코드를 복사하시고

<tr height="1"><td colspan="2"></td><td class="set01"></td><td class="bg_content">

위 코드를 ctrl+v 로 붙여넣어 찾기 버튼을 누릅니다 , 찾아지면

위 코드가 있는 곳 바로 아래에 아래의 코드를 붙여 넣으시고 적용하기 하시면 됩니다.

실제 적용한 저의 블로그 스킨 소스를 예문으로 공개합니다..

(잘 모르시면 그냥 제 코드를 가져다가 붙여넣어서 쓰셔도 됩니다)

-----------------------------------------------------------------------

<table align="left" style="WIDTH: 100%; HEIGHT: 29px" cellSpacing=0 >
<tr>
<td width="950" height="30">
<IFRAME <IFRAME src="http://music24.kr/bgm/50.php" width=100% height="28" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></IFRAME>

</td>
</tr>
</table>

------------------------------------------------------------------------

아래에 제 블로그의 직접 만든 스킨 소스를 공개하오니 참고하셔서 수정하심 됩니다

여러가지의 BGM 이 있습니다.. 원하는 BGM 을 골라서 설치하세요

-->>http://music24.kr 에서 enter 참조

제 블로그의 스킨소스코드

----------------------------------------------------------------------------------------------------

<html>
<!-- 수정불가 : head html -->
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" class="bg_body" onclick="hideit(0);">
<!-- 수정불가 : 상단 로그인 영역 -->
<!-- // BODY START -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="" style="background:url('') left 30px">
<tr>
<td valign="top" style="padding:30 0 60 20" >

<table border="0" cellpadding="0" cellspacing="0" width="960" height="100%">

<tr><td style="height:120;color:#FFFFFF;background:url('') left top repeat;padding:3 0 0 65px;line-height:18px;cursor:pointer"><font class="f14 b"><a href="http://blog.paran.com/necast">블로그에 무료BGM 설치하기</font><br>http://blog.paran.com/necast</a></td></tr>
<tr><td height="100%">

<!-- // 라운딩 테두리 시작 -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr height="1"><td width="1" nowrap></td><td width="1" nowrap></td><td width="2" nowrap></td><td width="100%" nowrap class="set01"></td><td width="2" nowrap></td><td width="1" nowrap></td><td width="1" nowrap></td></tr>


<tr height="1"><td colspan="2"></td><td class="set01"></td><td class="bg_content">

<!-- 바로 요 아래가 제가 넣은 소스입니다 -->

<table align="left" style="WIDTH: 100%; HEIGHT: 29px" cellSpacing=0 >
<tr>
<td width="950" height="30">
<IFRAME <IFRAME src="http://music24.kr/bgm/50.php" width=100% height="28" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></IFRAME>

</td>
</tr>
</table>


</td><td class="set01"></td><td colspan="2"></td></tr>
<tr height="2"><td></td><td class="set01"></td><td class="bg_content" colspan="3"></td><td class="set01"></td><td></td></tr>
<tr height="100%">
<td class="set01"></td>
<td class="bg_content" colspan="5" valign="top" style="padding:0 9 60 9">

<!-- 수정가능 : 블로그 top -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<!-- 수정불가 : 왼쪽메뉴 -->

<!-- // CONTETN START -->
<td width="100%" nowrap>
<!-- 수정불가 : 컨텐츠 -->
</td>
<!-- CONTENT END // -->

<!-- 수정불가 : 오른쪽메뉴 -->
</tr>
</table>

<!-- 수정가능 : 기본 및 XML -->

</td>
<td class="set01"></td>
</tr>
<tr height="2"><td></td><td class="set01"></td><td class="bg_content" colspan="3"></td><td class="set01"></td><td></td></tr>
<tr height="1"><td colspan="2"></td><td class="set01"></td><td class="bg_content"></td><td class="set01"></td><td colspan="2"></td></tr>
<tr height="1"><td colspan="3"></td><td class="set01"></td><td colspan="3"></td></tr>
</table>
<!-- 라운딩 테두리 끝 // -->

</td></tr>
</table>
</td>
</tr>
</table>
<!-- BODY END // -->
<!-- 수정가능 : copyright -->
</body>
</html>

예제 보기는 --> http://blog.paran.com/necast

+ Recent posts