Well, I got this script but it loop over and over again. I would like it to loop 1 time and stop at the last pic (6.gif)
Thanks guys! 🙂
In the HEAD:
(script)
var slideShowSpeed = 4000
var crossFadeDuration = 10
var Pic = new Array()
Pic[0] = 'wimages/blank.gif'
Pic[1] = 'wimages/1.gif'
Pic[2] = 'wimages/2.gif'
Pic[3] = 'wimages/3.gif'
Pic[4] = 'wimages/4.gif'
Pic[5] = 'wimages/5.gif'
Pic[6] = 'wimages/6.gif'
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad = new Image()
preLoad.src = Pic
}
function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
(/script)
In the BODY section:
<p align="center">
(span style="float:left;")
(a href=home.html Title="Enter Clan Pros Web Site")(img src="wimages/blank.gif" name='SlideShow' border=0)(/a)
(/span)