<head>와 </head>사이에 아래소스를 삽입爛求?
============================================================
<script>
<!--
var sound1="음악파일의경로1"
var sound2="음악파일의경로2"
var sound3="음악파일의경로3"
var sound4="음악파일의경로4"
var sound5="음악파일의경로5"
var x=Math.round(Math.random()*4)
if (x==0) x=sound1
else if (x==1) x=sound2
else if (x==2) x=sound3
else if (x==3) x=sound4
else x=sound5
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">')
else
document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
//-->
</script>
============================================================
'DATA > Javascript' 카테고리의 다른 글
| 우리홈에 방문한 횟수는 ...번입니다. (0) | 2008/02/12 |
|---|---|
| 새창의 크기가 나올이미지 크기에 맞게 나오기 (0) | 2008/02/12 |
| 접속할때마다 바뀌는 음악 (0) | 2008/02/12 |
| 상태표시줄에 시계달기 (0) | 2008/02/12 |
| 원하는 위치에 "요일"월"일"년"시간" 표시하기 (0) | 2008/02/12 |
| 접속할때마다 바뀌는 배경화면 (0) | 2008/02/12 |
TRACKBACK 0 AND
COMMENT 0


이올린에 북마크하기
이올린에 추천하기
PREV