PDA

View Full Version : Problem with Pausing up-down Scroller



vijramu
08-20-2009, 04:52 PM
1) Script Title:
Pausing up-down Scroller

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

3) Describe problem:
if the javascript array's length is only one, the first time its displayed on the browser, it shows up an "undefined" value for the second scroll but clears up after the first display.

ddadmin
08-21-2009, 07:22 AM
The script expects at least two array elements, as otherwise, it would have nothing to scroll up using. You could set the two array elements to the same text in the rare event there are only one message.