Advanced Search

Results 1 to 4 of 4

Thread: Image Crawler problem on IE8

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

    Default Image Crawler problem on IE8

    Text and Image Crawler

    http://www.dynamicdrive.com/dynamici...wler/index.htm

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

    Code:
    <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?
    Last edited by jscheuer1; 03-23-2010 at 04:52 AM. Reason: format code

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,677
    Thanks
    43
    Thanked 3,126 Times in 3,092 Posts
    Blog Entries
    12

    Default

    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
    Mar 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry, forgot to link to my own page..

    http://79.170.44.128/cityweek.com/index.php

    Thanks

    Peter

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,677
    Thanks
    43
    Thanked 3,126 Times in 3,092 Posts
    Blog Entries
    12

    Default

    In carousel2.css get rid of this:

    Code:
    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:

    Code:
    <!--[if lt IE 7]>
    <style type="text/css">
    img, div {/* For IE 5.5-6 */ 
    behavior: url(iepngfix.php) 
    }
    </style>
    <![endif]-->
    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.
    - John
    ________________________

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

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
  •