I have a collection of pop up photo's on a webpage. By clicking the first photo (the only one that is not hidden) all others are displayed one after another.
I would like the photoshow to stop automatically after the last photo has been displayed. Now the photoshow goes on forever as long as the webpage is displayed, or the show is cancelled by the user.