PDA

View Full Version : Presentation Slideshow Script



candyceh
06-25-2008, 04:13 PM
1) Script Title:
Presentation Slideshow Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm
3) Describe problem:
How can I modify the script so it stops after cycling through the pictures once? I do not want it to run continually.

Nile
06-25-2008, 08:00 PM
My answer won't work, sorry. :(

ddadmin
06-26-2008, 07:39 AM
Try finding the below line in the script, and adding to it the line in red:


if (curimageindex!=0 && nextimageindex!=1)
setTimeout("rotateimage()",pause)

Nile
06-26-2008, 01:39 PM
Just a question:


if (curimageindex!=0 && nextimageindex!=1)
setTimeout("rotateimage()",pause)
else
return false;
}

Would be better, right?

candyceh
06-26-2008, 10:04 PM
Thanks for your help, but I do not see this: if (curimageindex!=0 && nextimageindex!=1)
in the code anywhere. Are we looking at the same script?

the URL of the script I am trying to use is: http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm