Results 1 to 3 of 3

Thread: Text and Image Crawler - Tables stop ticker working in IE7?

  1. #1
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Text and Image Crawler - Tables stop ticker working in IE7?

    1) Script Title: Text and Image Crawler

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...wler/index.htm

    3) Describe problem: Hi I use the following code so that I can use tables to add text under the images in the ticker:

    HTML Code:
    <div class="marquee" id="mycrawler">
    <table><tr><td><img src="test-image-1.jpg" /></td><td><img src="test-image-2.jpg" /></td><td><img src="test-image-3.jpg" /></td></tr><tr id="text"><td>image 1</td><td>image 2</td><td>image 3</td></tr></table>
    </div>
    But now the ticker doesnt work on IE6 and IE7 just says the code below:

    The error message says:
    crawler.js
    Message: Object required
    Line: 70 (says line 69 in ie8 compatible (ie7 mode)
    Char: 3
    Code: 0

    Any Ideas on how to fix this?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,124
    Thanks
    44
    Thanked 3,228 Times in 3,189 Posts
    Blog Entries
    12

    Default

    Place your marqueeInit function outside all tables and after the crawler it is meant for. If that's too confusing, place it as the last thing before your closing </body> tag.

    There could be other problems.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John, Thanks what you said seemed to have fixed the issue I will get back if there is anything else. Thanks again for your great work.

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
  •