PDA

View Full Version : Ajax Ticker question



Howiestein
03-16-2008, 12:58 PM
1) Ajax Ticker

2) http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm

3) I came up with this ticker idea for a friends website... The problem is if you go to the home (http://houseofmasks.bizland.com) page it only says intialiaing ticker and gives an erroricon on the status bar. But if you navigate to another page and then go back tp the home page, it works fine.
Any ideas on why it doesn't work off the bat and how to fix that?


Cheers.
Howie

ddadmin
03-17-2008, 12:12 AM
Instead of:


var xmlfile="http://www.houseofmasks.bizland.com/tickercontent.txt"

Change that to just:


var xmlfile="tickercontent.txt"

The absolute reference fails whenever your site is viewed without the "www" in front of the URL.

BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice: http://www.dynamicdrive.com/notice.htm