0

I have a single page Wordpress Website http://sophiance.com/

Owing to the nature of the website it has a log of assets like jquery plugins and images.

It seems to crash IE8 browser in all machines I have tried and at times hangs the computer as well.

enter image description here

7
  • This question appears to be off-topic because it is about Web Applications. Unless this is code you've written yourself, in which case you should provide an SSCCE. Jul 5, 2013 at 13:28
  • IE 8 might crash in the case of malformed CSS (Multiline comment without the /*) / ..., does the page makes IE8 crash if you disable JS ? Does it crashes with the CSS disabled ? Jul 5, 2013 at 13:29
  • @RelevantUsername i am using IE tester dont have IE8 so am not sure. any idea how to check that.
    – Harsha M V
    Jul 5, 2013 at 13:31
  • 2
    By the way, a script error is not a crash.
    – Mr Lister
    Jul 5, 2013 at 13:35
  • 1
    @HarshaMV The error message is quite clear: http://sophiance.com/index.html causes error on line 718. If this line is not a script line, it has an inline function call / function, and that invoked function has a syntax error. JS expects a variable name, but finds something else instead. Most common reason for this is a trailing comma in a object/ array literal, or an attempt to declare an object like: var foo[n] = ...;
    – Teemu
    Jul 5, 2013 at 15:23

1 Answer 1

3

You have a trailing comma in an object literal definition at line 717, and three more after it.

Cufon.replace('.articleReadMore', {
        hover: {
            color: '#0171a0'
        }, <--- Remove this
    });

Just remove the comma; IE8 didn't support trailing commas, but IE9+ and other browsers do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.