Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7650829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:21:13+00:00 2026-05-31T11:21:13+00:00

I have created a background for a page made up of divs with background

  • 0

I have created a “background” for a page made up of divs with background images. The result is blocks of random images that fade in, wait, fade out and reload using jQuery and PHP.

This is working in Chrome, Firefox, Safari, Opera (although a little more clunky), Safari/iPad, Android Phone. It “works” in ie8 and ie9 with one exception: The same images come up every time in both version of IE (tested on IE8/Win7, IE9/Vista).

I’ve been using PHP for a while so I know that part is good. I’m rather new to jQuery but as I mentioned it works in all other browser (although it may not be done the most efficient way). Here is the jQuery I’m using:

var auto_refresh = setInterval(function () {
    var $data = $('#backgrounder');
    $data.fadeOut(2000, function() { 
        $data.load('background.php', function() { 
            $data.delay(2000).fadeIn(2000); 
        }); 
    });

}, 10000); // refresh every 10000 milliseconds

The PHP just creates divs with random file names from a folder.

It outputs this type of HTML:

<div class="outerbackgroundbox">
<div style="background-image: url(images/backgrounds/a5.jpg);" class="blocks"></div>
<div style="background-image: url(images/backgrounds/a2.jpg);" class="blocks"></div>
...
<div style="background-image: url(images/backgrounds/a6.jpg);" class="blocks"></div>
<div style="background-image: url(images/backgrounds/a7.jpg);" class="blocks"></div>
</div>

Any thoughts as to why this isn’t updating in Internet Explorer (besides the obvious “IE Sucks” thoughts, that is. 😉

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:21:15+00:00Added an answer on May 31, 2026 at 11:21 am

    It’s probably a caching issue. To prevent extra overhead IE is just reusing what it got before from the same URL.

    http://api.jquery.com/jQuery.ajaxSetup/

    $.ajaxSetup({cache: false});
    

    That should disable caching for all AJAX requests you make with jQuery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a button CSS class that uses background images with different positions
I have just created an HTML5 page with a background image in the top
Hello i am using NSOperationQueue to download images in the background. I have created
I have a custom tableview cell created programmatically that consists of: a background view
I have created a wordpress theme and I made it so the background image
i have dynamically created table with string builder.. when i run this page background
I have an HTML page. I have created a frame using background repeat function.
I have created web page http://jsfiddle.net/KNfrm/embedded/result/ mid div is not extending to the height
Good Morning All, I have created a different background and a few other images
Background: I have created a CRUD web app using a java based RAD tool

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.