웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
사랑비BGM 플레이기 설치하고 제어하기
2009.04.28 20:19
참고 : http://www.xpressengine.com/17476636
<!-- Sarangbi BGM Frame Controller -->
<?
$bgm = "/sa";
?>
<div class="blogTitleBox" align=center style="font-size:10pt;color:#ff6600;">
Music Control(<span id=maxtime>00:00</span>)
</div>
<div class="widgetBox" align=center>
<form name=mu><marquee width="140" behavior="alternate" scrolldelay=100 scrollamount=2 onmouseout="this.start()"><input name=mus size=37 style="border:1px solid #ffffff; font-size:8pt;color:#00afcf;text-align:center;"></marquee></form>
<a onclick="parent.frames['bgm'].method_PreviousButtonPush();" onMouseOver="document.pre.src='+
'<?=$bgm?>/skin/tomboy/button/back_over.gif';" onMouseOut="document.pre.src='<?=$bgm?>/skin/tomboy/button/back.gif';"><img name=pre src="<?=$bgm?>/skin/tomboy/button/back.gif" width="13" height="13" border="0" alt="이전"></a>
<a onMouseOver="document.pla.src='<?=$bgm?>/skin/tomboy/button/play_over.gif';" onMouseOut="document.pla.src='<?=$bgm?>/skin/tomboy/button/play.gif';"><img name=pla src="<?=$bgm?>/skin/tomboy/button/play.gif" width="13 " height="13" border="0" alt="재생"></a>
<a onclick="parent.frames['bgm'].method_NextButtonPush();" onMouseOver="document.nex.src='<?=$bgm?>/skin/tomboy/button/forward_over.gif';" onMouseOut="document.nex.src='<?=$bgm?>/skin/tomboy/button/forward.gif';"><img name=nex src="<?=$bgm?>/skin/tomboy/button/forward.gif" width="13" height="13" border="0" alt="다음"></a>
<a onMouseOver="document.pau.src='<?=$bgm?>/skin/tomboy/button/pause_over.gif';" onMouseOut="document.pau.src='<?=$bgm?>/skin/tomboy/button/pause.gif';"><img name=pau src="<?=$bgm?>/skin/tomboy/button/pause.gif" width="13 " height=" 13" border="0" alt="잠시멈춤"></a>
<a onclick="parent.frames['bgm'].method_StopButtonPush();" onMouseOver="document.sto.src='<?=$bgm?>/skin/tomboy/button/stop_over.gif';" onMouseOut="document.sto.src='<?=$bgm?>/skin/tomboy/button/stop.gif';"><img name=sto src="<?=$bgm?>/skin/tomboy/button/stop.gif" width="13" height="13" border="0" alt="정지"></a>
<a onMouseOver="document.volup.src='<?=$bgm?>/skin/tomboy/button/volume_up_over.gif';" onMouseOut="document.volup.src='<?=$bgm?>/skin/tomboy/button/volume_up.gif';"><img name=volup src="<?=$bgm?>/skin/tomboy/button/volume_up.gif" width="13" height="13" border="0" alt="소리 +"></a>
<a onclick="parent.frames['bgm'].method_VolumnDownButtonPush();" onMouseOver="document.voldn.src='<?=$bgm?>/skin/tomboy/button/volume_down_over.gif';" onMouseOut="document.voldn.src='<?=$bgm?>/skin/tomboy/button/volume_down.gif';"><img name=voldn src="<?=$bgm?>/skin/tomboy/button/volume_down.gif" width="13" height="13" border="0" alt="소리 -"></a>
<a onMouseOver="document.lis.src='<?=$bgm?>/skin/tomboy/button/list_over.gif';" onMouseOut="document.lis.src='<?=$bgm?>/skin/tomboy/button/list.gif';"><img name=lis src="<?=$bgm?>/skin/tomboy/button/list.gif" width="13" height="13" border="0" alt="플레이리스트"></a>
<is_admin">!--@if($logged_info->is_admin == 'Y')-->
<a onMouseOver="document.adm.src='<?=$bgm?>/skin/tomboy/button/admin_over.gif';" onMouseOut="document.adm.src='<?=$bgm?>/skin/tomboy/button/admin.gif';"><img name=adm src="<?=$bgm?>/skin/tomboy/button/admin.gif" width="13" height="13" border="0" alt="관리자페이지"></a><!--@end-->
</div>
<?
$bgm = "/sa";
?>
<div class="blogTitleBox" align=center style="font-size:10pt;color:#ff6600;">
Music Control(<span id=maxtime>00:00</span>)
</div>
<div class="widgetBox" align=center>
<form name=mu><marquee width="140" behavior="alternate" scrolldelay=100 scrollamount=2 onmouseout="this.start()"><input name=mus size=37 style="border:1px solid #ffffff; font-size:8pt;color:#00afcf;text-align:center;"></marquee></form>
<a onclick="parent.frames['bgm'].method_PreviousButtonPush();" onMouseOver="document.pre.src='+
'<?=$bgm?>/skin/tomboy/button/back_over.gif';" onMouseOut="document.pre.src='<?=$bgm?>/skin/tomboy/button/back.gif';"><img name=pre src="<?=$bgm?>/skin/tomboy/button/back.gif" width="13" height="13" border="0" alt="이전"></a>
<a onMouseOver="document.pla.src='<?=$bgm?>/skin/tomboy/button/play_over.gif';" onMouseOut="document.pla.src='<?=$bgm?>/skin/tomboy/button/play.gif';"><img name=pla src="<?=$bgm?>/skin/tomboy/button/play.gif" width="13 " height="13" border="0" alt="재생"></a>
<a onclick="parent.frames['bgm'].method_NextButtonPush();" onMouseOver="document.nex.src='<?=$bgm?>/skin/tomboy/button/forward_over.gif';" onMouseOut="document.nex.src='<?=$bgm?>/skin/tomboy/button/forward.gif';"><img name=nex src="<?=$bgm?>/skin/tomboy/button/forward.gif" width="13" height="13" border="0" alt="다음"></a>
<a onMouseOver="document.pau.src='<?=$bgm?>/skin/tomboy/button/pause_over.gif';" onMouseOut="document.pau.src='<?=$bgm?>/skin/tomboy/button/pause.gif';"><img name=pau src="<?=$bgm?>/skin/tomboy/button/pause.gif" width="13 " height=" 13" border="0" alt="잠시멈춤"></a>
<a onclick="parent.frames['bgm'].method_StopButtonPush();" onMouseOver="document.sto.src='<?=$bgm?>/skin/tomboy/button/stop_over.gif';" onMouseOut="document.sto.src='<?=$bgm?>/skin/tomboy/button/stop.gif';"><img name=sto src="<?=$bgm?>/skin/tomboy/button/stop.gif" width="13" height="13" border="0" alt="정지"></a>
<a onMouseOver="document.volup.src='<?=$bgm?>/skin/tomboy/button/volume_up_over.gif';" onMouseOut="document.volup.src='<?=$bgm?>/skin/tomboy/button/volume_up.gif';"><img name=volup src="<?=$bgm?>/skin/tomboy/button/volume_up.gif" width="13" height="13" border="0" alt="소리 +"></a>
<a onclick="parent.frames['bgm'].method_VolumnDownButtonPush();" onMouseOver="document.voldn.src='<?=$bgm?>/skin/tomboy/button/volume_down_over.gif';" onMouseOut="document.voldn.src='<?=$bgm?>/skin/tomboy/button/volume_down.gif';"><img name=voldn src="<?=$bgm?>/skin/tomboy/button/volume_down.gif" width="13" height="13" border="0" alt="소리 -"></a>
<a onMouseOver="document.lis.src='<?=$bgm?>/skin/tomboy/button/list_over.gif';" onMouseOut="document.lis.src='<?=$bgm?>/skin/tomboy/button/list.gif';"><img name=lis src="<?=$bgm?>/skin/tomboy/button/list.gif" width="13" height="13" border="0" alt="플레이리스트"></a>
<is_admin">!--@if($logged_info->is_admin == 'Y')-->
<a onMouseOver="document.adm.src='<?=$bgm?>/skin/tomboy/button/admin_over.gif';" onMouseOut="document.adm.src='<?=$bgm?>/skin/tomboy/button/admin.gif';"><img name=adm src="<?=$bgm?>/skin/tomboy/button/admin.gif" width="13" height="13" border="0" alt="관리자페이지"></a><!--@end-->
</div>
위 소스에서 <?=bgm?> 부분을 http://홈페이지주소/제로보드경로로 해주시면, 이미지가 제대로 나오게 되구요.
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=euc-kr'>
<title>홈페이지</title>
</head>
<frameset rows="0,*" border="0">
<frame src="/sa/sarangbi_bgm.php" name="bgm" scrolling="no" noresize marginwidth="0" marginheight="0">
<frame src="/zbxe" name="main" scrolling="auto" marginwidth="0" marginheight="0" >
</frameset>
</html>
<head>
<meta http-equiv='content-type' content='text/html; charset=euc-kr'>
<title>홈페이지</title>
</head>
<frameset rows="0,*" border="0">
<frame src="/sa/sarangbi_bgm.php" name="bgm" scrolling="no" noresize marginwidth="0" marginheight="0">
<frame src="/zbxe" name="main" scrolling="auto" marginwidth="0" marginheight="0" >
</frameset>
</html>
위 소스를 붙여넣기 다 했는데 사랑비BGM 제어가 안된다면?
"/sa/sarangbi_bgm.php" 이 부분을 "http://홈페이지주소/sa/sarangbi_bgm.php"로 바꿔주세요.
저도 이 방법으로 해결 했습니다.
댓글 2
-
디펜시브
2009.04.29 14:46
-
유아원
2009.04.29 17:10
테이블 생성 문제는 위 참고 링크로 가시면 XE에 최적화된 사랑비BGM 파일이 있습니다.
그걸 받으시면 되겠습니다.
제목 | 글쓴이 | 날짜 |
---|---|---|
사랑비Bgm 플레이기 설치하고 제어하기 [5] | 팔공산 | 2008.11.22 |
[BGM-초급]나모로 BGM 설치하기 (다운받기-시노부 포함) [5] | ▩윤미 | 2002.07.14 |
XE를 홈페이지 루트에 설치하여 BGM 설치가 불가능할 때... [6] | Firstlove | 2011.05.29 |
UTF-8에서 호환되는 사랑비 BGM 올립니다. [8] | 로로아 | 2008.10.15 |
[동영상강좌] 홈페이지에 BGM을 달아보자 [5] | 서기 | 2007.01.10 |
XE 홈피에 예쁜 음악BGM 넣는 방법(프레임 분리형 플래시BGM) | 푸른커튼2 | 2011.04.18 |
BGM 넣기 및 간단한 제어 [2] | Elinoa | 2011.03.26 |
사랑비BGM 플레이기 설치하고 제어하기 [2] | 스유군 | 2009.04.28 |
BGM Player (배경 음악) [17] | 장진석 | 2004.02.16 |
간단한 BGM 스크립트 [7] | ZipShin | 2002.07.21 |
[BGM]♬가상프레임에서 배경음악 켜고끄는 버튼 만들기 ^^; [10] | abulo | 2002.07.19 |
HTML만으로 BGM Player 만들기... [7] | 고광욱 | 2003.01.02 |
BGM 등을 배경을 투명하게 iframe 으로 넣는 팁 [3] | 푸른커튼 | 2008.02.05 |
홈페이지에 BGM달기 [1] | SHIN군 | 2010.01.18 |
bgm 넣을려고 프레임 나눴을때 가로스크롤바 해결방법. [12] | 또리♡485 | 2008.01.25 |
사랑비 BGM 설치 부터 내 사이트에 적용까지 한방에!!!!! [2] | 오키도키 | 2009.08.03 |
zbxe에 bgm을 설치하자 [11] | 우리아기 | 2008.08.16 |
BGM 가로스크롤바 없애는 방법.. | 청개굴이 | 2009.06.03 |
BGM 쓰시는분 게시판 에서 첨부파일 다운받을때 끊어지시죠?ㅎㅎ [4] | 우리아기 | 2009.05.23 |
제로보드에 BGM 달기 (대폭 수정;;) [5] | Dr.Mabin | 2008.04.27 |
감사합니다^^ 전 아예 테이블 생성이 안되더군요(포기상태 -_-;;)