묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
<script LANGAUGE=javascript>
var mouse_position_random=1; // onmouseout=1 onmouseover=0
function sub_ChangeRandomImage()
{
if( invar_RandomPlay){
if( mouse_position_random){
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/random.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/random.gif";
}else{
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/random_over.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/random_over.gif";
private_btn_status('랜덤~랜덤~랜덤~');
}
sarangbi_bgm_random_image.alt="랜덤~랜덤~랜덤~";
}else{
if( mouse_position_random){
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/sequence.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/sequence.gif";
}else{
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/sequence_over.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/sequence_over.gif";
private_btn_status('순서대로~');
}
sarangbi_bgm_random_image.alt="순서대로~";
}
} //end of function
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_random(tmp)
{
mouse_position_random=tmp;
sub_ChangeRandomImage();
}
document.write("<img id='sarangbi_bgm_random_image' src='skin/pink/button/random.gif' onmouseover='image_change_random(0);' onmouseout='image_change_random(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_RandomButtonPush();'>");
if( invar_RandomPlay) sarangbi_bgm_random_image.src='skin/pink/button/random.gif';
else sarangbi_bgm_random_image.src='skin/pink/button/sequence.gif';
</script>
<script LANGAUGE=javascript>
var mouse_position_loop=1; // onmouseout=1 onmouseover=0
function sub_ChangeLoopImage()
{
if( invar_Loop){
if( mouse_position_loop){
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/loop.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/loop.gif";
}else{
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/loop_over.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/loop_over.gif";
private_btn_status('이 노래만 계속들을껴?');
}
sarangbi_bgm_loop_image.alt="이 노래만 계속들을껴?";
}else{
if( mouse_position_loop){
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/one_play.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/one_play.gif";
}else{
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/one_play_over.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/one_play_over.gif";
private_btn_status('ㄷ ㅏ 듣고 싶어요');
}
sarangbi_bgm_loop_image.alt="ㄷ ㅏ 듣고 싶어요";
}
}
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_loop(tmp)
{
mouse_position_loop=tmp;
sub_ChangeLoopImage();
}
document.write("<img id='sarangbi_bgm_loop_image' src='skin/pink/button/one_play.gif' onmouseover='image_change_loop(0);'+ '+ ' onmouseout='image_change_loop(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_LoopButtonPush();'>");
if( invar_Loop) sarangbi_bgm_loop_image.src='skin/pink/button/loop.gif';
else sarangbi_bgm_loop_image.src='skin/pink/button/one_play.gif';
</script>
<script LANGAUGE=javascript>
var mouse_position_mute=1; // onmouseout=1 onmouseover=0
invar_mute_image_show=true;
function sub_ChangeMuteImage()
{
if( document.Sarangbi_Bgm.mute){
if( mouse_position_mute){
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_off.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_off.gif";
}else{
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_off_over.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_off_over.gif";
private_btn_status('사운드 끄기~');
}
sarangbi_bgm_mute_image.alt="사운드 끄기~";
}else{
if( mouse_position_mute){
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_on.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_on.gif";
}else{
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_on_over.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_on_over.gif";
private_btn_status('사운드 켬~');
}
sarangbi_bgm_mute_image.alt="사운드 켬~";
}
}
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_mute(tmp)
{
mouse_position_mute=tmp;
sub_ChangeMuteImage();
}
document.write("<img id='+ 'sarangbi_bgm_mute_image' src='skin/pink/button/sound_on.gif' onmouseover='image_change_mute(0);' onmouseout='image_change_mute(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_MuteButtonPush();'>");
</script>
<script language=javascript>
function method_BGMListButtonPush()
{
if( 0){
top.bgmlist.location.href='sarangbi_bgm_list.php';
}else{
var w = 300;
var h = 130;
var sw = window.screen.availWidth;
var sh = window.screen.availHeight;
if( invar_MusicCount > 20)
h+=19*20;
else
h+=19*invar_MusicCount;
var sarangbi_bgm_list=window.open('+ 'sarangbi_bgm_list.php','Sarangbi_BGM_MusicList','scrollbars=yes,resizable=yes,width='+w+',height='+h);
sarangbi_bgm_list.moveTo((sw - w) / 2, (sh - h) / 2);
}
}
function bgmlist_over(){
if( 1)
bt('sarangbi_bgm_list_image', 'skin/pink/button/list_over.gif');
else
sarangbi_bgm_list_image.src="skin/pink/button/list_over.gif";
private_btn_status('음악리스트~');
}
function bgmlist_out(){
if( 1)
bt('sarangbi_bgm_list_image', 'skin/pink/button/list.gif');
else
sarangbi_bgm_list_image.src="skin/pink/button/list.gif";
}
document.write("<img id='sarangbi_bgm_list_image' src='skin/pink/button/list.gif' onmouseover='bgmlist_over();' onmouseout='bgmlist_out();' style='cursor:hand; filter:blendTrans(duration=0.5);' alt='음악리스트~' onClick='method_BGMListButtonPush();'>");
</script>
<script language=javascript>
function method_SetupButtonPush()
{
var w = 620;
var h = 620;
var sw = window.screen.availWidth;
var sh = window.screen.availHeight;
var sarangbi_setup=window.open('sarangbi_bgm_admin.php','Sarangbi_BGM_Setup','scrollbars=yes, resizable=yes,width='+w+',height='+h);
sarangbi_setup.moveTo((sw - w) / 2, (sh - h) / 2);
}
function bgmadmin_over(){
if( 1)
bt('sarangbi_bgm_admin_image', 'skin/pink/button/admin_over.gif'+ ');
else
sarangbi_bgm_admin_image.src="skin/pink/button/admin_over.gif";
private_btn_status('관계자의출입금지');
}
function bgmadmin_out(){
if( 1)
bt('sarangbi_bgm_admin_image', 'skin/pink/button/admin.gif');
else
sarangbi_bgm_admin_image.src="skin/pink/button/admin.gif";
}
document.write("<img id='sarangbi_bgm_admin_image' src='skin/pink/button/admin.gif' onmouseover='bgmadmin_over();' onmouseout='bgmadmin_out();' style='cursor:hand; filter:blendTrans(duration=0.5);' alt='관계자의출입금지' onClick='method_SetupButtonPush();'>");
</script>
<script LANGUAGE=javascript>
invar_alltime_show=true;
document.write("<span id=sarangbi_bgm_alltime>00:00</span>")</script>/<script LANGUAGE=javascript>
invar_curtime_show=true;
document.write("<span id=sarangbi_bgm_curtime>00:00</span>")</script><!-- </body> 는 적지 마세요. //--><script language=javascript>private_loadMusicList( '일반', 'file/브라운아이즈_-_벌써일년.mp3', '브라운아이즈_-_벌써일년.mp3','NONE', '1', '');private_Browser_Status( '::SARANGBI BGM::');
invar_default_caption='SARANGBI BGM CAPTION'; // 디폴트 캡션
private_caption_control('');
if( invar_PlayAtStart && invar_MusicCount != 0) method_PlayButtonPush();
else method_StopButtonPush();
</script><div id=playstatusshow></div><br>
<br>
<br>
<div id=PlayStateChangeshow></div><br>
<br>
<br>
<div id=buf></div>
</body>
</html>
<!--============================================================================//-->
여기까지인데요
플레이 버튼 자바소스하고 정지버튼 자바소스좀 알려주세요 ㅠㅠ
3시간동안 도전해봤는데 도저희 안돼서 초고수님들 부탁드립니다 ㅠㅠ
다른 프레임에서 어떤 그림을 링크시켜서
그 그림 클릭하면 음악 정지돼고 다시 플레이시키고 그렇게 할려고 하거든요 ㅠㅠ
꼭좀알려주세요~!!!
사랑비 소스 - 2 -
2004.11.21 03:03
<script LANGAUGE=javascript>
var mouse_position_random=1; // onmouseout=1 onmouseover=0
function sub_ChangeRandomImage()
{
if( invar_RandomPlay){
if( mouse_position_random){
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/random.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/random.gif";
}else{
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/random_over.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/random_over.gif";
private_btn_status('랜덤~랜덤~랜덤~');
}
sarangbi_bgm_random_image.alt="랜덤~랜덤~랜덤~";
}else{
if( mouse_position_random){
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/sequence.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/sequence.gif";
}else{
if( 1)
bt('sarangbi_bgm_random_image', 'skin/pink/button/sequence_over.gif');
else
sarangbi_bgm_random_image.src="skin/pink/button/sequence_over.gif";
private_btn_status('순서대로~');
}
sarangbi_bgm_random_image.alt="순서대로~";
}
} //end of function
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_random(tmp)
{
mouse_position_random=tmp;
sub_ChangeRandomImage();
}
document.write("<img id='sarangbi_bgm_random_image' src='skin/pink/button/random.gif' onmouseover='image_change_random(0);' onmouseout='image_change_random(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_RandomButtonPush();'>");
if( invar_RandomPlay) sarangbi_bgm_random_image.src='skin/pink/button/random.gif';
else sarangbi_bgm_random_image.src='skin/pink/button/sequence.gif';
</script>
<script LANGAUGE=javascript>
var mouse_position_loop=1; // onmouseout=1 onmouseover=0
function sub_ChangeLoopImage()
{
if( invar_Loop){
if( mouse_position_loop){
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/loop.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/loop.gif";
}else{
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/loop_over.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/loop_over.gif";
private_btn_status('이 노래만 계속들을껴?');
}
sarangbi_bgm_loop_image.alt="이 노래만 계속들을껴?";
}else{
if( mouse_position_loop){
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/one_play.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/one_play.gif";
}else{
if( 1)
bt('sarangbi_bgm_loop_image', 'skin/pink/button/one_play_over.gif');
else
sarangbi_bgm_loop_image.src="skin/pink/button/one_play_over.gif";
private_btn_status('ㄷ ㅏ 듣고 싶어요');
}
sarangbi_bgm_loop_image.alt="ㄷ ㅏ 듣고 싶어요";
}
}
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_loop(tmp)
{
mouse_position_loop=tmp;
sub_ChangeLoopImage();
}
document.write("<img id='sarangbi_bgm_loop_image' src='skin/pink/button/one_play.gif' onmouseover='image_change_loop(0);'+ '+ ' onmouseout='image_change_loop(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_LoopButtonPush();'>");
if( invar_Loop) sarangbi_bgm_loop_image.src='skin/pink/button/loop.gif';
else sarangbi_bgm_loop_image.src='skin/pink/button/one_play.gif';
</script>
<script LANGAUGE=javascript>
var mouse_position_mute=1; // onmouseout=1 onmouseover=0
invar_mute_image_show=true;
function sub_ChangeMuteImage()
{
if( document.Sarangbi_Bgm.mute){
if( mouse_position_mute){
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_off.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_off.gif";
}else{
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_off_over.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_off_over.gif";
private_btn_status('사운드 끄기~');
}
sarangbi_bgm_mute_image.alt="사운드 끄기~";
}else{
if( mouse_position_mute){
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_on.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_on.gif";
}else{
if( 1)
bt('sarangbi_bgm_mute_image', 'skin/pink/button/sound_on_over.gif');
else
sarangbi_bgm_mute_image.src="skin/pink/button/sound_on_over.gif";
private_btn_status('사운드 켬~');
}
sarangbi_bgm_mute_image.alt="사운드 켬~";
}
}
// tmp == 1 onmouseout
// tmp == 0 onmouseover
function image_change_mute(tmp)
{
mouse_position_mute=tmp;
sub_ChangeMuteImage();
}
document.write("<img id='+ 'sarangbi_bgm_mute_image' src='skin/pink/button/sound_on.gif' onmouseover='image_change_mute(0);' onmouseout='image_change_mute(1);' style='cursor:hand; filter:blendTrans(duration=0.5);' onClick='method_MuteButtonPush();'>");
</script>
<script language=javascript>
function method_BGMListButtonPush()
{
if( 0){
top.bgmlist.location.href='sarangbi_bgm_list.php';
}else{
var w = 300;
var h = 130;
var sw = window.screen.availWidth;
var sh = window.screen.availHeight;
if( invar_MusicCount > 20)
h+=19*20;
else
h+=19*invar_MusicCount;
var sarangbi_bgm_list=window.open('+ 'sarangbi_bgm_list.php','Sarangbi_BGM_MusicList','scrollbars=yes,resizable=yes,width='+w+',height='+h);
sarangbi_bgm_list.moveTo((sw - w) / 2, (sh - h) / 2);
}
}
function bgmlist_over(){
if( 1)
bt('sarangbi_bgm_list_image', 'skin/pink/button/list_over.gif');
else
sarangbi_bgm_list_image.src="skin/pink/button/list_over.gif";
private_btn_status('음악리스트~');
}
function bgmlist_out(){
if( 1)
bt('sarangbi_bgm_list_image', 'skin/pink/button/list.gif');
else
sarangbi_bgm_list_image.src="skin/pink/button/list.gif";
}
document.write("<img id='sarangbi_bgm_list_image' src='skin/pink/button/list.gif' onmouseover='bgmlist_over();' onmouseout='bgmlist_out();' style='cursor:hand; filter:blendTrans(duration=0.5);' alt='음악리스트~' onClick='method_BGMListButtonPush();'>");
</script>
<script language=javascript>
function method_SetupButtonPush()
{
var w = 620;
var h = 620;
var sw = window.screen.availWidth;
var sh = window.screen.availHeight;
var sarangbi_setup=window.open('sarangbi_bgm_admin.php','Sarangbi_BGM_Setup','scrollbars=yes, resizable=yes,width='+w+',height='+h);
sarangbi_setup.moveTo((sw - w) / 2, (sh - h) / 2);
}
function bgmadmin_over(){
if( 1)
bt('sarangbi_bgm_admin_image', 'skin/pink/button/admin_over.gif'+ ');
else
sarangbi_bgm_admin_image.src="skin/pink/button/admin_over.gif";
private_btn_status('관계자의출입금지');
}
function bgmadmin_out(){
if( 1)
bt('sarangbi_bgm_admin_image', 'skin/pink/button/admin.gif');
else
sarangbi_bgm_admin_image.src="skin/pink/button/admin.gif";
}
document.write("<img id='sarangbi_bgm_admin_image' src='skin/pink/button/admin.gif' onmouseover='bgmadmin_over();' onmouseout='bgmadmin_out();' style='cursor:hand; filter:blendTrans(duration=0.5);' alt='관계자의출입금지' onClick='method_SetupButtonPush();'>");
</script>
<script LANGUAGE=javascript>
invar_alltime_show=true;
document.write("<span id=sarangbi_bgm_alltime>00:00</span>")</script>/<script LANGUAGE=javascript>
invar_curtime_show=true;
document.write("<span id=sarangbi_bgm_curtime>00:00</span>")</script><!-- </body> 는 적지 마세요. //--><script language=javascript>private_loadMusicList( '일반', 'file/브라운아이즈_-_벌써일년.mp3', '브라운아이즈_-_벌써일년.mp3','NONE', '1', '');private_Browser_Status( '::SARANGBI BGM::');
invar_default_caption='SARANGBI BGM CAPTION'; // 디폴트 캡션
private_caption_control('');
if( invar_PlayAtStart && invar_MusicCount != 0) method_PlayButtonPush();
else method_StopButtonPush();
</script><div id=playstatusshow></div><br>
<br>
<br>
<div id=PlayStateChangeshow></div><br>
<br>
<br>
<div id=buf></div>
</body>
</html>
<!--============================================================================//-->
여기까지인데요
플레이 버튼 자바소스하고 정지버튼 자바소스좀 알려주세요 ㅠㅠ
3시간동안 도전해봤는데 도저희 안돼서 초고수님들 부탁드립니다 ㅠㅠ
다른 프레임에서 어떤 그림을 링크시켜서
그 그림 클릭하면 음악 정지돼고 다시 플레이시키고 그렇게 할려고 하거든요 ㅠㅠ
꼭좀알려주세요~!!!
method_PauseButtonPush // 정지
너무 복잡해서 정확하지는 않을겁니다.
그냥 대충 훓어보고 올려드렸으니 저것도 아니면 다시 찾아봐야겠네요.