PDA

View Full Version : Text and Image Crawler - Tables stop ticker working in IE7?



uk145214
05-14-2010, 06:32 PM
1) Script Title: Text and Image Crawler

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


<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?

jscheuer1
05-14-2010, 06:40 PM
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.

uk145214
05-14-2010, 07:36 PM
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.