Dazza30
02-18-2010, 02:47 PM
1) Script Title: Ajax XML Ticker (txt file source)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm
3) Describe problem:
Just as a test I installed the code on my page and changed tickercontent.txt to datafeed_12565.xml I assumed this script could handle an xml file, was I wrong, as the contents of the file are not displaying.
Is there a script that can use a xml file held on the same server?
<script type="text/javascript">
var xmlfile="datafeed_12565.xml" //path to ticker txt file on your server.
//ajax_ticker(xmlfile, divId, divClass, delay, optionalfadeornot)
new ajax_ticker(xmlfile, "ajaxticker1", "someclass", [3500], "fade")
</script>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm
3) Describe problem:
Just as a test I installed the code on my page and changed tickercontent.txt to datafeed_12565.xml I assumed this script could handle an xml file, was I wrong, as the contents of the file are not displaying.
Is there a script that can use a xml file held on the same server?
<script type="text/javascript">
var xmlfile="datafeed_12565.xml" //path to ticker txt file on your server.
//ajax_ticker(xmlfile, divId, divClass, delay, optionalfadeornot)
new ajax_ticker(xmlfile, "ajaxticker1", "someclass", [3500], "fade")
</script>