By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,607 Members | 1,970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,607 IT Pros & Developers. It's quick & easy.

SlideShow Script - No Looping

P: n/a
Hello:

I have a slideshow script running and I cannot figure out how to tell it to
stop after it reaches the last slide. I do not want it to loop. Can
someone please help? Thanks. The page is located at:

http://www.consumerman.com/demo/hallofshame.htm

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi!

Please, change these two lines

if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)

by

if (j <= (p-1)) t = setTimeout('runSlideShow()', slideShowSpeed)

Script rich last image and stop.

--
Sergey.
http://www.takereal.com/freelance/resume.asp
"C. David Rossen" <cd******@cdrmarketing.com> wrote in message
news:2L********************@comcast.com...
Hello:

I have a slideshow script running and I cannot figure out how to tell it to stop after it reaches the last slide. I do not want it to loop. Can
someone please help? Thanks. The page is located at:

http://www.consumerman.com/demo/hallofshame.htm

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.