I got this code from somewhere in the archive threads.

<HTML><HEAD><META HTTP-EQUIV="REFRESH" CONTENT="2"><TITLE>Monitor</TITLE></HEAD>
<BODY bgcolor="#FFFFFF" background=""> <CFSET TheList = "#lName#">
<TABLE>
<TR>
<br>
<CFLOOP FROM="1" TO="1" STEP="1" INDEX="temp">
  <CFSET Position = RandRange(1,ListLen(TheList))>
  <TD><CFOUTPUT>#ListGetAt(TheList,Position)#</CFOUTPUT></TD>
  <CFSET TheList = ListDeleteAt(TheList,Position)>
</CFLOOP>
</TR>
</TABLE>
</BODY>
</HTML>

When displayed on the page, the page refreshes every 2 seconds and randomly displays the list item. How do I make sure that all the items in the list are displayed, only repeating a list item once after all list items are displayed. how do I do that check?
>Sorry, I haven't worked in DHTML in ages. I'd much rather work in Flash. ;)
>As it stands, I bet if you Googled for dhtml ticker, you would probably find
>a bunch of scripts.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to