묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임에서의 배경음악..
2004.01.05 20:31
어떤 분이 이런 질문을 하셨길래 답변주신 것을 보니..
<frameset row="*,0">
<frame src="noname1.html">
<frame src="bgm.html">
</frameset>
이런식으로 하라고 하시더군요..
근데 무슨말인지 잘 모르겠습니다.
찾아봐도 노프레임에 삽입하는 배경음악에 대한 것은 보이지 않네요..
검색 능력이 딸리는지 몰라도..-_-;
bgm.html에는 다음과 같은 소스를 사용하였습니다.
----------------------------------------------------------------------------
<html>
<head>
<script language="JavaScript">
song = new Array();
song[1] = "http://mura2.cafe24.com/zb41/bgmusic/10_Merry_Christmas_Mr.Lawrence.wma";
song[2] = "http://mura2.cafe24.com/zb41/bgmusic/Glay_However.wma";
song[3] = "http://mura2.cafe24.com/zb41/bgmusic/Onitsuka_Chihiro____월광_오르골☆[1].mp3";
song[4] = "http://mura2.cafe24.com/zb41/bgmusic/Ozaki_Yutaka_06.wma";
song[5] = "http://mura2.cafe24.com/zb41/bgmusic/senche.wma";
song[6] = "http://mura2.cafe24.com/zb41/bgmusic/to_heart2.wma";
</script>
<script language="JavaScript">
function change()
{
if(bgnum == 7){bgnum = 1;}
if(bgnum == 0){bgnum = 6;}
bgmusic.Filename =song[bgnum];
}
</script>
<Script language="JavaScript">
function to_next()
{
bgnum = bgnum + 1;
if(bgnum == 7){bgnum = 1;}
bgmusic.Filename =song[bgnum];
}
</Script>
<script language="JScript" for="bgmusic" event="EndOfStream()">
setTimeout("to_next()", 100);
</script>
</head>
<body>
<object id="bgmusic" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width="0" height="0">
<param name="AllowChangeDisplaySize" value="false">
<param name="AnimationAtStart" value="false">
<param name="AutoSize" value="false">
<param name="EnableContextMenu" value="false">
<param name="EnableFullScreenControls" value="false">
<param name="EnablePositionControls" value="false">
<param name="EnableTracker" value="false">
<param name="PlayCount" value="0">
<param name="ShowAudioControls" value="false">
<param name="ShowCaptioning" value="false">
<param name="ShowControls" value="false">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="false">
<param name="ShowStatusBar" value="false">
<param name="ShowTracker" value="false">
<param name="TransparentAtStart" value="true">
<param name="AudioStream" value="-1">
<param name="AutoStart" value="true">
<param name="AllowScan" value="true">
<param name="AutoRewind" value="false">
<param name="Balance" value="0">
<param name="BufferingTime" value="5">
<param name="ClickToPlay" value="true">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="true">
<param name="InvokeURLs" value="true">
<param name="Language" value="-1">
<param name="Mute" value="false">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="false">
<param name="SendWarningEvents" value="false">
<param name="SendErrorEvents" value="false">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="false">
<param name="SendMouseMoveEvents" value="false">
<param name="SendPlayStateChangeEvents" value="false">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="false">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="false">
</object>
<script language="JavaScript">
bgnum=Math.floor(Math.random()*6) + 1;
bgmusic.Filename =song[bgnum];
</script>
</body>
</html>
-------------------------------------------------------------------------
어떤분이 배경음악 강좌 소스를 올려놓으신걸 쓴겁니다.
헤더파일에서 include했더니 페이지 이동마다 음악이 끊기네요.
어떻게 프레임을 더 삽입하라고 하시는건지...
혹시 프레임삽입에 대한 유용한 강좌가 있다면 알려주세요~
plz~~~
<frameset row="*,0">
<frame src="noname1.html">
<frame src="bgm.html">
</frameset>
이런식으로 하라고 하시더군요..
근데 무슨말인지 잘 모르겠습니다.
찾아봐도 노프레임에 삽입하는 배경음악에 대한 것은 보이지 않네요..
검색 능력이 딸리는지 몰라도..-_-;
bgm.html에는 다음과 같은 소스를 사용하였습니다.
----------------------------------------------------------------------------
<html>
<head>
<script language="JavaScript">
song = new Array();
song[1] = "http://mura2.cafe24.com/zb41/bgmusic/10_Merry_Christmas_Mr.Lawrence.wma";
song[2] = "http://mura2.cafe24.com/zb41/bgmusic/Glay_However.wma";
song[3] = "http://mura2.cafe24.com/zb41/bgmusic/Onitsuka_Chihiro____월광_오르골☆[1].mp3";
song[4] = "http://mura2.cafe24.com/zb41/bgmusic/Ozaki_Yutaka_06.wma";
song[5] = "http://mura2.cafe24.com/zb41/bgmusic/senche.wma";
song[6] = "http://mura2.cafe24.com/zb41/bgmusic/to_heart2.wma";
</script>
<script language="JavaScript">
function change()
{
if(bgnum == 7){bgnum = 1;}
if(bgnum == 0){bgnum = 6;}
bgmusic.Filename =song[bgnum];
}
</script>
<Script language="JavaScript">
function to_next()
{
bgnum = bgnum + 1;
if(bgnum == 7){bgnum = 1;}
bgmusic.Filename =song[bgnum];
}
</Script>
<script language="JScript" for="bgmusic" event="EndOfStream()">
setTimeout("to_next()", 100);
</script>
</head>
<body>
<object id="bgmusic" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width="0" height="0">
<param name="AllowChangeDisplaySize" value="false">
<param name="AnimationAtStart" value="false">
<param name="AutoSize" value="false">
<param name="EnableContextMenu" value="false">
<param name="EnableFullScreenControls" value="false">
<param name="EnablePositionControls" value="false">
<param name="EnableTracker" value="false">
<param name="PlayCount" value="0">
<param name="ShowAudioControls" value="false">
<param name="ShowCaptioning" value="false">
<param name="ShowControls" value="false">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="false">
<param name="ShowStatusBar" value="false">
<param name="ShowTracker" value="false">
<param name="TransparentAtStart" value="true">
<param name="AudioStream" value="-1">
<param name="AutoStart" value="true">
<param name="AllowScan" value="true">
<param name="AutoRewind" value="false">
<param name="Balance" value="0">
<param name="BufferingTime" value="5">
<param name="ClickToPlay" value="true">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="true">
<param name="InvokeURLs" value="true">
<param name="Language" value="-1">
<param name="Mute" value="false">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="false">
<param name="SendWarningEvents" value="false">
<param name="SendErrorEvents" value="false">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="false">
<param name="SendMouseMoveEvents" value="false">
<param name="SendPlayStateChangeEvents" value="false">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="false">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="false">
</object>
<script language="JavaScript">
bgnum=Math.floor(Math.random()*6) + 1;
bgmusic.Filename =song[bgnum];
</script>
</body>
</html>
-------------------------------------------------------------------------
어떤분이 배경음악 강좌 소스를 올려놓으신걸 쓴겁니다.
헤더파일에서 include했더니 페이지 이동마다 음악이 끊기네요.
어떻게 프레임을 더 삽입하라고 하시는건지...
혹시 프레임삽입에 대한 유용한 강좌가 있다면 알려주세요~
plz~~~
한개 프레임은 높이를 0으로 둬서 그 프레임에 배경음악을 넣는 방법이 있지요