시노부BGM 홈페이지에 위치 설정하는법을 설명할까 합니다.
(이 설명은 이목록 한칸 아래의 "zbxe에 시노부bgm을 설치하자"를 따라서 설치하신 후 해야 합니다.)
1. 죄측메뉴 아래에 위치 시키기
해당 레이아웃의 layout.html을 열어서
이 부분을 찾아서
<!-- 시노부BGM -->
<table align=center width=190px height=90px cellspacing="0" style='background-image:url(<?=$dir?>/bgm/images/snv_90.gif);'>
<tr><td>
<table height=30px>
<tr><td align=left style='padding-top:0px; padding-left:8px; padding-right:5px'>
<marquee width="170" direction="left" scrolldelay=100 scrollamount=2 onmouseover="this.stop()" onmouseout="this.start()">
<font id="stitle" style='font-family:돋움; FONT-SIZE:9pt; COLOR:#fff; top:1;'></font>
</marquee>
</td></tr>
</table>
<table height=30px>
<tr><td align=left style='padding-left:11px; padding-top:0px'>
<font style='font-family: 돋움; FONT-SIZE: 9pt; COLOR:#fff;'></font>
<font id="now_time" style='font-family: 돋움; FONT-SIZE: 9pt; COLOR:#fff; position:RELATIVE; top:1;'>▷00:00|00:00</font>
</td></tr>
</table>
<table height=30px align=center>
<tr><td style='padding-top:5px'>
<font id="stats"></font>
<a onclick="parent.frames['bgm'].preTrack();" onMouseOver="document.pre.src='<?=$dir?>/bgm/images/b1_over.gif';" onMouseOut="document.pre.src='<?=$dir?>/bgm/images/b1.gif';"><img name=pre src="<?=$dir?>/bgm/images/b1.gif" width="13" height="13" border="0" alt="이전"></a>
<a onclick="parent.frames['bgm'].stopTrack();" onMouseOver="document.sto.src='<?=$dir?>/bgm/images/b2_over.gif';" onMouseOut="document.sto.src='<?=$dir?>/bgm/images/b2.gif';"><img name=sto src="<?=$dir?>/bgm/images/b2.gif" width="13" height="13" border="0" alt="정지"></a>
<a onclick="parent.frames['bgm'].play();" onMouseOver="document.pla.src='<?=$dir?>/bgm/images/b3_over.gif';" onMouseOut="document.pla.src='<?=$dir?>/bgm/images/b3.gif';"><img name=pla src="<?=$dir?>/bgm/images/b3.gif" width="13" height="13" border="0" alt="재생"></a>
<a onclick="parent.frames['bgm'].MPause();" onMouseOver="document.pau.src='<?=$dir?>/bgm/images/b4_over.gif';" onMouseOut="document.pau.src='<?=$dir?>/bgm/images/b4.gif';"><img name=pau src="<?=$dir?>/bgm/images/b4.gif" width="13" height="13" border="0" alt="일시정지"></a>
<a onclick="parent.frames['bgm'].nextTrack();" onMouseOver="document.nex.src='<?=$dir?>/bgm/images/b5_over.gif';" onMouseOut="document.nex.src='<?=$dir?>/bgm/images/b5.gif';"><img name=nex src="<?=$dir?>/bgm/images/b5.gif" width="13" height="13" border="0" alt="다음"></a>
<a onclick="parent.frames['bgm'].chgLoop();" onMouseOver="document.loo.src='<?=$dir?>/bgm/images/loop_over.gif';" onMouseOut="document.loo.src='<?=$dir?>/bgm/images/loop.gif';"><img name=loo src="<?=$dir?>/bgm/images/loop.gif" width="13" height="13" border="0" alt="반복/한곡"></a>
<a onclick="parent.frames['bgm'].nextTrack();" onMouseOver="document.mod.src='<?=$dir?>/bgm/images/random_over.gif';" onMouseOut="document.mod.src='<?=$dir?>/bgm/images/random.gif';"><img name=mod src="<?=$dir?>/bgm/images/random.gif" width="13" height="13" border="0" alt="랜덤/순차"></a>
<a onclick="parent.frames['bgm'].m_list2();" onMouseOver="document.lis.src='<?=$dir?>/bgm/images/list_over.gif';" onMouseOut="document.lis.src='<?=$dir?>/bgm/images/list.gif';"><img name=lis src="<?=$dir?>/bgm/images/list.gif" width="13" height="13" border="0" alt="곡목리스트"></a>
</td></tr>
</table>
</td></tr>
</table>
<!--@end-->
이렇게 소스 삽입하면 로그인아래에 위치합니다. 위젯들과 적당한 위치 조절하면 됩니다.
2. 홈페이지에 프리하게 위치시키는 방법(이것을 설명 할려고 이 글을 적었음 ^.^)
해당 레이아웃의 layout.html을 열어서
<ul id="gnb">
<!-- main_menu 1차 시작 -->
이 부분을 찾아서 <!--GNB--> 위에
<!-- 시노부BGM -->
<table align=center width=190px height=90px cellspacing="0" style='background-image:url(<?=$dir?>/bgm/images/snv_90.gif);'>
<tr><td>
<table height=30px>
<tr><td align=left style='padding-top:0px; padding-left:8px; padding-right:5px'>
<marquee width="170" direction="left" scrolldelay=100 scrollamount=2 onmouseover="this.stop()" onmouseout="this.start()">
<font id="stitle" style='font-family:돋움; FONT-SIZE:9pt; COLOR:#fff; top:1;'></font>
</marquee>
</td></tr>
</table>
<table height=30px>
<tr><td align=left style='padding-left:11px; padding-top:0px'>
<font style='font-family: 돋움; FONT-SIZE: 9pt; COLOR:#fff;'></font>
<font id="now_time" style='font-family: 돋움; FONT-SIZE: 9pt; COLOR:#fff; position:RELATIVE; top:1;'>▷00:00|00:00</font>
</td></tr>
</table>
<table height=30px align=center>
<tr><td style='padding-top:5px'>
<font id="stats"></font>
<a onclick="parent.frames['bgm'].preTrack();" onMouseOver="document.pre.src='<?=$dir?>/bgm/images/b1_over.gif';" onMouseOut="document.pre.src='<?=$dir?>/bgm/images/b1.gif';"><img name=pre src="<?=$dir?>/bgm/images/b1.gif" width="13" height="13" border="0" alt="이전"></a>
<a onclick="parent.frames['bgm'].stopTrack();" onMouseOver="document.sto.src='<?=$dir?>/bgm/images/b2_over.gif';" onMouseOut="document.sto.src='<?=$dir?>/bgm/images/b2.gif';"><img name=sto src="<?=$dir?>/bgm/images/b2.gif" width="13" height="13" border="0" alt="정지"></a>
<a onclick="parent.frames['bgm'].play();" onMouseOver="document.pla.src='<?=$dir?>/bgm/images/b3_over.gif';" onMouseOut="document.pla.src='<?=$dir?>/bgm/images/b3.gif';"><img name=pla src="<?=$dir?>/bgm/images/b3.gif" width="13" height="13" border="0" alt="재생"></a>
<a onclick="parent.frames['bgm'].MPause();" onMouseOver="document.pau.src='<?=$dir?>/bgm/images/b4_over.gif';" onMouseOut="document.pau.src='<?=$dir?>/bgm/images/b4.gif';"><img name=pau src="<?=$dir?>/bgm/images/b4.gif" width="13" height="13" border="0" alt="일시정지"></a>
<a onclick="parent.frames['bgm'].nextTrack();" onMouseOver="document.nex.src='<?=$dir?>/bgm/images/b5_over.gif';" onMouseOut="document.nex.src='<?=$dir?>/bgm/images/b5.gif';"><img name=nex src="<?=$dir?>/bgm/images/b5.gif" width="13" height="13" border="0" alt="다음"></a>
<a onclick="parent.frames['bgm'].chgLoop();" onMouseOver="document.loo.src='<?=$dir?>/bgm/images/loop_over.gif';" onMouseOut="document.loo.src='<?=$dir?>/bgm/images/loop.gif';"><img name=loo src="<?=$dir?>/bgm/images/loop.gif" width="13" height="13" border="0" alt="반복/한곡"></a>
<a onclick="parent.frames['bgm'].nextTrack();" onMouseOver="document.mod.src='<?=$dir?>/bgm/images/random_over.gif';" onMouseOut="document.mod.src='<?=$dir?>/bgm/images/random.gif';"><img name=mod src="<?=$dir?>/bgm/images/random.gif" width="13" height="13" border="0" alt="랜덤/순차"></a>
<a onclick="parent.frames['bgm'].m_list2();" onMouseOver="document.lis.src='<?=$dir?>/bgm/images/list_over.gif';" onMouseOut="document.lis.src='<?=$dir?>/bgm/images/list.gif';"><img name=lis src="<?=$dir?>/bgm/images/list.gif" width="13" height="13" border="0" alt="곡목리스트"></a>
</td></tr>
</table>
</td></tr>
</table>
</ul>
<!--GNB-->
<ul id="gnb">
<!-- main_menu 1차 시작 -->
소스를 삽입한다.
그리고 가장 간단한 스킨입니다. 노래제목,이클라이저,정지,플레이,일단멈춤,리스트 만 니오게 했습니다.
<ul id="bgm">
<div style="float:left; width:105px; padding-right:5px">
<marquee width="100px" direction="left" scrolldelay=100 scrollamount=2 onmouseover="this.stop()" onmouseout="this.start()">
<font id="stitle" style='font-family:돋움; FONT-SIZE:9pt; COLOR:#89AFE5; top:1;'></font>
</marquee>
</div>
<div style="float:left; width:90px">
<font id="stats"></font>
<a onclick="parent.frames['bgm'].stopTrack();" onMouseOver="document.sto.src='<?=$dir?>/bgm/images/b2_over.gif';" onMouseOut="document.sto.src='<?=$dir?>/bgm/images/b2.gif';"><img name=sto src="<?=$dir?>/bgm/images/b2.gif" width="13" height="13" border="0" alt="정지"></a>
<a onclick="parent.frames['bgm'].play();" onMouseOver="document.pla.src='<?=$dir?>/bgm/images/b3_over.gif';" onMouseOut="document.pla.src='<?=$dir?>/bgm/images/b3.gif';"><img name=pla src="<?=$dir?>/bgm/images/b3.gif" width="13" height="13" border="0" alt="재생"></a>
<a onclick="parent.frames['bgm'].MPause();" onMouseOver="document.pau.src='<?=$dir?>/bgm/images/b4_over.gif';" onMouseOut="document.pau.src='<?=$dir?>/bgm/images/b4.gif';"><img name=pau src="<?=$dir?>/bgm/images/b4.gif" width="13" height="13" border="0" alt="일시정지"></a>
<a onclick="parent.frames['bgm'].m_list2();" onMouseOver="document.lis.src='<?=$dir?>/bgm/images/list_over.gif';" onMouseOut="document.lis.src='<?=$dir?>/bgm/images/list.gif';"><img name=lis src="<?=$dir?>/bgm/images/list.gif" width="13" height="13" border="0" alt="곡목리스트"></a>
</div>
</ul>
그리고 해당 스킨의 칼라 css를 찾아서
#bgm { position:absolute; top:30px; left:789px; }
적당한 곳에 소스 삽입한 후(#GNB 위가 좋겠죠)
자신의 홈피에 맞게금 top과 left조절하면 됩니다.
제가 사용중인 시노보BGM배경 스킨을 psd파일로 올리니 포샵에서 변형해서 사용하세요.
아래 간단한 스킨은 투명한 색상입니다.(이 홈피에 적용되어 있습니다.)
설치된 홈페이지
p.s 호스팅에 따라서 utf_8전용과 ansi로 나누어 아래리스트에 첨부파일 넣어 놓았으니 참조하세요.
틀리면 첫화면 자체가 뜨지를 않으니 바꾸어서 테스트하세요.
궁금한게 있으시면 댓글로 남기세요.