rickheck
11-12-2010, 12:28 AM
1) Script Title: Pausing up-down scroller
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
3) Describe problem: When the script gets to the end of the array, it appears that it is not resetting back to the beginning of the array. I get a message "undefined" scrolling in the message area.
I'm just past being a beginner in Javascript, but I can't find where the array pointer is set back to the beginning if the last item in the array is being displayed. I am assuming that the array pointer being 'past' the end of the array is the cause of the display of 'undefined'.
Suggestions? I've already double-checked that the code is correct according to the code on your page.
Thanks....Rick..
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
3) Describe problem: When the script gets to the end of the array, it appears that it is not resetting back to the beginning of the array. I get a message "undefined" scrolling in the message area.
I'm just past being a beginner in Javascript, but I can't find where the array pointer is set back to the beginning if the last item in the array is being displayed. I am assuming that the array pointer being 'past' the end of the array is the cause of the display of 'undefined'.
Suggestions? I've already double-checked that the code is correct according to the code on your page.
Thanks....Rick..