<SCRIPT LANGUAGE="JavaScript">
<!--
var timeDelay = 1; // 이미지가 변경되는 시간 - 초단위
var Pix = new Array // 이미지 경로 - 추가는 "경로" 구분은 ,로 하면 됨
("http://mint5663.com.ne.kr/images/1.jpg"
,"http://mint5663.com.ne.kr/images/2.jpg"
,"http://mint5663.com.ne.kr/images/3.jpg"
,"http://mint5663.com.ne.kr/images/4.jpg"
,"http://mint5663.com.ne.kr/images/5.jpg"
,"http://mint5663.com.ne.kr/images/6.jpg"
,"http://mint5663.com.ne.kr/images/7.jpg"
,"http://mint5663.com.ne.kr/images/8.jpg"
,"http://mint5663.com.ne.kr/images/9.jpg"
,"http://mint5663.com.ne.kr/images/10.jpg"
,"http://mint5663.com.ne.kr/images/11.jpg"
,"http://mint5663.com.ne.kr/images/12.jpg"
,"http://mint5663.com.ne.kr/images/13.jpg"
,"http://mint5663.com.ne.kr/images/14.jpg"
,"http://mint5663.com.ne.kr/images/15.jpg"
,"http://mint5663.com.ne.kr/images/16.jpg"
,"http://mint5663.com.ne.kr/images/17.jpg"
,"http://mint5663.com.ne.kr/images/18.jpg"
,"http://mint5663.com.ne.kr/images/19.jpg"
,"http://mint5663.com.ne.kr/images/20.jpg"
,"http://mint5663.com.ne.kr/images/21.jpg"
,"http://mint5663.com.ne.kr/images/22.jpg"
,"http://mint5663.com.ne.kr/images/23.jpg"
,"http://mint5663.com.ne.kr/images/24.jpg"
,"http://mint5663.com.ne.kr/images/25.jpg"
);
var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}

//--></script>
<script>
startPix();
</script>
<!-- 처음 로딩시 보여주는 이미지 -->
<img name="ChangingPix" src="http://mint5663.com.ne.kr/images/25.jpg" width="260" height="360">

Posted by 알 수 없는 사용자
,