JS slider not showing in ie7

I have a javascript slider for my site, which works for all browsers except for ie7. I figured out why the images are not showing.

Im using the previous version of the Marco Folio background slider.

Read More

I would appreciate some help with this, as this seems to be the only serious issue with my site right now.

Here is the site: doctorstvnetwork.com

Thanks a lot.

Related posts

Leave a Reply

1 comment

  1. I realize that this is not the answer you’re looking for, but thought I’d post this anyhow.

    Your slider images are loading in real-time, causing a delay in seeing the image the first time the slider switches to them. You can preload the images in the background with this snippet:

    /*
     *   preload images function
     */
    
    (function($) {
      var cache = [];
      // Arguments are image paths relative to the current page.
      $.preLoadImages = function() {
        var args_len = arguments.length;
        for (var i = args_len; i--;) {
          var cacheImage = document.createElement('img');
          cacheImage.src = arguments[i];
          cache.push(cacheImage);
        }
      }
    })(jQuery)
    
    // call the function in doc ready
    $(document).ready(function () {
        $.preLoadImages("/path/to/image1.png", "/path/to/image2.png");
    });