PDA

View Full Version : Presenational slide show



jylllynn
09-27-2005, 09:09 PM
Presentational Slide Show
http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm

I really like how this effect works, but I was wondering if I can change something to make it stop scrolling through the pictures. I want it to do 3 pictures and then stop, not start over with the first picture again.

Thanks!

jscheuer1
09-28-2005, 01:31 AM
To do just 3 pictures or whatever number of pictures, start by only having that many images. Then to make it stop after one run through, change this part of the code:

nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0
setTimeout("rotateimage()",pause)to:

if(nextimageindex<dropimages.length)
nextimageindex++
else
return;
setTimeout("rotateimage()",pause)

jylllynn
09-28-2005, 05:15 PM
Thanks for the help, but it is still not working. Now the images don't even display. Any other ideas?