Pause up-down scroller "undefined" for one entry
1) Script Title: Pause Up-Down Scroller
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
3) Describe problem: I have implemented this scroller as a web part on a portal page and it works great. The only issue that I can't seem to overcome is that when the scroller is populated with a dataset, and there is only one entry the first time through the scroller displays the first entry and then scrolls "undefined". After the initial run the scroller only displays the valid data.
I've tried to change the .js file's div tags and content array, checking for "", null value, and < 0 length with no success thus far. Any help with this matter would be greatly appreciated. Thank you.
I figured out the problem - The issue was not with the attached .js file, it was within the C# class that was handling the population of the dataset for the scroller array.
Thanks to the post by jscheuer1 ( http://www.dynamicdrive.com/forums/s...02&postcount=6 ) I made the appropriate adjustment to the for loop that read the dataset and decrimented the counter to repeat the first item in the array if there is only one.
Thanks to all who've posted to this forum and for the great scripts!