PDA

View Full Version : Blending Image Slideshow Script stop on last image



zot
07-18-2007, 03:16 PM
1) Script Title: Blending Image Slideshow Script

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/image4.htm

3) Describe problem: I would like to be able to stop the slideshow on the last image instead of remaining continuous. Can anyone help with the code/ Thanks

jscheuer1
07-18-2007, 03:33 PM
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
if(whichimage==0)
return;
setTimeout("slideit()",slidespeed+blenddelay)
}

zot
07-18-2007, 10:31 PM
Thankyou so much...works like a charm
Z