Page load on refresh in IE8

I am developing a website and I am getting a lot of inconsistencies when loading while refreshing the page. Clicking on links is functioning properly; no problem. The problem only occurs when INSTALLING the page. You will notice how loading loads forever, and in some cases refuses to load at all.

http://annualreview.com.au/caltex/2012/

The site was created using WordPress 3.5.1 ( http://wordpress.org ) and Foundation 3.2.5 ( http://foundation.zurb.com/ ).

Any help on this would be greatly appreciated. I have no ideas.

Thank.

Update: This may not be IE related. The problem seems to exist in other browsers.

+5
source share
3 answers

I replaced Respond.js with the following script, and the problem was resolved by myself. http://code.google.com/p/css3-mediaqueries-js

0
source

It seems like response.js introduces a time synchronization issue. It may have javascript code that is directly embedded in the js file and not wrapped in an event such as document.ready. This will lead to an immediate execution of the page loading and reading js and may cause inconsistent page loading behavior depending on how fast or slow events occur.

If so, you can quickly wrap the entire contents of the response.js file in the document's event handler so that the code does not execute until everything has finished loading.

$(document).ready(function(){
    //respond.js contents here..
});

IE Chrome, , - js. , , , , , . console.log , . , .

+1

Firebug, . , . , 1 11 .

Firebug: https://s17.postimg.org/i3jtmbz1r/firebug_results.jpg

, , :

  • CSS Sprites - , , , -.
  • Another thing you could try is to use other image hosting sites like Flickr or Amazon S3. Browsers, as a rule, allow you to have 2 connections to the same server at the same time (all your images are on the same server, you get a long blocking time), but you allow connections to 8 different servers at the same time, so using third parties can improve the time of the sites downloads for you.
+1
source

All Articles