PDA

View Full Version : DHTML Ticker script question



rakeck
10-23-2008, 07:35 PM
1) Script Title: DHTML Ticker script

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

3) Describe problem:

Not really a problem. this is a great script and has implemented well. Now for adding content ... a few questions come to mind.

1- the pausecontent[0].., pausecontent[1].., pausecontent[2].., etc. What is the significance of the incremental number in the function? How critical is this all the way through, and repeating? are there limitations to number of entries? Is there an entry somewhere in the function that needs to be adjusted depending on number of content entries?

2- have you done a similar ticker that reads content off of another file, perhaps an .xml file?

3- is it possible someway (simple) to randomize the content displayed? ... if so, is it possible to "weight" the content where a content item may come up more frequently than others? (sort of like can be done on the .asp adrotator control)

Hope I'm not being too greedy, my wondering if there's more.

Thanks
Robert