PDA

View Full Version : Fading scroller - stop the loop?



ktcat
01-31-2010, 08:50 PM
1) Script Title: Fading Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm

3) Describe problem: I'm using the fading scroller, but I'd like to end it or stop the loop after one cycle. Is tehre a way to do this? Thanks.

Nile
01-31-2010, 09:04 PM
Change:


if (index>=fcontent.length)
index=0

To:

if (index>=fcontent.length)
return false;

ktcat
02-01-2010, 02:31 AM
Many thanks for your prompt response! You have been a HUGE help!

Nile
02-01-2010, 02:48 AM
Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"