View Full Version : Image Crawler problem on IE8

03-22-2010, 09:32 PM
Text and Image Crawler


I have installed the script on an implementation of CMSMS. It works absolutely fine on FF, but I am having major problems on IE8.

It works intermittently if I add 2 or 3 images, but if I add more it then fails to show anything. If I then remove the images and go back to the first 2 or 3 it still won't work. I have just tried it with one image and it works, I then add the same image just copying the line and it worked with about 10 images. Then I refreshed the page and no images showed. I removed all the images again and went back to 1 and it still doesn't work.

It always works fine in FF.

I've just done it again. 1 image is OK. Duplicated the entry about 10 times and nothing appears in IE8, FF is OK.

Here is what I am scrolling...

<a href="http://www.bba.org.uk" target="_blank"><img src="uploads/images/sponsors/sponsor_BBA.jpg" height="60" width="74" alt="BBA" /></a>

Of course I am trying to scroll different images, but if this one appears (intermittently) I am assuming there is no a problem with the image or the path.

Any help would be appreciated. The code works great in FF, and I can see the demo working on this site.

NB. Just an extra note. I left it for a minute or so, refreshed the page and it is showing the ten instances of the image rotating. Could there be some sort of timing thing going on? I have just refreshed the page - after seeing 10 images scrolling - and again nothing appears. I have closed IE down and re-opened it and again nothing appears - then once or twice I get what I want - but not consistently.

NB2. With just the one image appearing 10 times I get it working about 60% of refreshes. Using my list of 10 (small) images it is not appearing at all. Is there anything which would prevent the code working if all the images were not loaded? Should I try and load the images into memory first? Why is FF OK?

03-23-2010, 04:56 AM
Please post a link to a page on your site that contains the problematic code so we can check it out.

03-23-2010, 07:53 AM
Sorry, forgot to link to my own page..



03-23-2010, 05:39 PM
In carousel2.css get rid of this:

body { }
img, div {/* For IE 5-7 */
behavior: url(iepngfix.php)


Contrary to the comment, it's only of any use for IE 5.5 through IE 6. So it could be placed on the page (not in a css file) like so:

<!--[if lt IE 7]>
<style type="text/css">
img, div {/* For IE 5.5-6 */
behavior: url(iepngfix.php)

That way it would only be used by IE 6 or less. But it will probably still mess up the crawler in those browsers (IE less than 7). There are many of these png fix schemes though, perhaps a different one would be better (it shouldn't be touching the crawler anyway). Or it can be made more specific via its selectors. It could then exclude the crawler (which uses no .png images) that might make even those earlier IE versions work OK with crawler and iepngfix.

But you are only using a few .png images, and only as background images (at least as far as I can tell) and some of those might not actually be being used on this page. So for this page at least it would probably be fine to just do without iepngfix.