'배경음악'에 해당되는 글 1건

- 소스보기 -
<script language="JavaScript">
<!--
var how_many_ads = 5;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;

if (ad==1) {
banner="음 악 파 일 주 소";
}

else if (ad==2) {
banner="음 악 파 일 주 소";
}

else if (ad == 3) {
banner="음 악 파 일 주 소";
}

else if (ad == 4) {
banner="음 악 파 일 주 소";
}

else if (ad == 5) {
banner="음 악 파 일 주 소";
}

document.write('<embed src="' + banner + '" loop="100" hidden="true">');
// -->
</script>

- 설명 -

var how_many_ads = 5;  

5라는 숫자가 노래가 몇개 들어가있는지 써주시는r구여

밑에 음악파일 주소 라고 써있는 부분에 노래 주소를 너주세여


노래를 더 추가하고 싶으시면 var how_many_ads = 5;  -5를 6이나 7 또는 그 이상으로 늘려주고

else if (ad == 6) {
banner="음 악 파 일 주 소";
}

else if (ad == 7) {
banner="음 악 파 일 주 소";
}

이런식으로 늘려주세여 ^^
블로그 이미지

na9ne

,