PDA

View Full Version : Ajax Ticker Error



babwe_zim
11-30-2006, 02:45 PM
1) Script Title: junk after document element


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

3) Describe problem: When viewing my page in mozilla 5.0/firefox 2.0 the browser error alert gives me the following error:

junk after document element
tickercontent.txt... (line 11)
<div class="message">

my page is http://www.cdcza.co.za

Any idea what this means
Thanks

ddadmin
11-30-2006, 11:39 PM
This error usually means that the contents of your external file (ie: tickercontent.txt) is invalid in structure in some way. Looking at your .txt file, this appears to be the case. The <style> code block at the top shouldn't be there, and you have a lot of "junk" or unclosed tags within each DIV, such as an unclosed <p> tag. Try cleaning things up to see if that fixes it.