catapult magazine

catapult magazine
 

Vol 2, Num 18 :: 2003.09.26 — 2003.10.09

 
 

Lift up my eyes to the mountains

<!— Begin
NewImg = new Array (
“../images/article/a_238_1.jpg”,“../images/article/a_238_2.jpg”,“../images/article/a_238_3.jpg”,“../images/article/a_238_4.jpg”,“../images/article/a_238_5.jpg”,“../images/article/a_238_6.jpg”
);
var ImgNum = 0;
var ImgLength = NewImg.length – 1;

//Time delay between Slides in milliseconds
var delay = 3000;

var lock = false;
var run;
function chgImg(direction) {
if (document.images) {
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength) {
ImgNum = 0;
}
if (ImgNum < 0) {
ImgNum = ImgLength;
}
document.slideshow.src = NewImg[ImgNum];
}
}
function auto() {
if (lock == true) {
lock = false;
window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval(“chgImg(1)”, delay);
}
}
// End —>


 

your comments

comments powered by Disqus