View Full Version : Fade-in SlideShow -how to stop it

07-10-2007, 02:02 PM
1) Script Title:
Fade-in slideshow
2) Script URL (on DD):
3) Describe problem: how to stop it?

Is there a way to make it stop running after showing the last image? I'm comfortable using this script, and hate the idea of having the find and start over with a new one to get the job done.


07-11-2007, 05:35 AM

07-11-2007, 01:40 PM
Thanks for your reply and pointing me to the thread, but no go yet.

One thread pointed to another, and another and another. All I ended up with was the the slideshow not starting without first clicking it; so I ditched that script. Then I tried just adding the below in the original (but that didn't stop it either):

obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)

I changed the length to 2 as suggested, but it changed nothing with stopping the slideshow.

I want to automatically start, and automatically stop after rotating through the images only once. It would be nice if they could restart it (but I don't want them to have to start it begin with the achieve this), and I don't want the click to restart to interfere with the link attached to the last image -so therefore, the only thing I REALLY want this script to do that it does not already do, is stop at the last image.

How exactly can I fix this? Is there something specific I need to add or change?

Thanks John,

07-11-2007, 01:53 PM
I FIXED IT!!! I CANNOT Believe it! Sorry for yelling. Playing with the numbers always gets ya somewhere, sometimes maybe not what you were aiming for, and a lot of times in a real mess, but this time it worked! Here's what I did (using the original script) to stop the darn thing on the last image:

obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0

I changed this 1

to ZERO:

And it stops!

I'm happy! ;)


Now it'd be cool if they could restart it, BUT any idiot knows to just refresh the page if you want to see it again! LOL! ;)

aka Robbie
07-11-2007, 02:10 PM
BUT any idiot knows to just refresh the page if you want to see it again!

That reminds me of my favourite saying:
"Never under-estimate the power of stupidity";)

07-11-2007, 04:20 PM
You didn't say that you wanted it to be able to start again, for that - see: