Results 1 to 2 of 2

Thread: Ajax Ticker Error

  1. #1
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Ticker Error

    1) Script Title: junk after document element


    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •