WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Advanced AJAX Page Loader] Doesn't work in Internet Explorer

[Resolved] [Plugin: Advanced AJAX Page Loader] Doesn't work in Internet Explorer

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dean Williams

    @deano1987

    Which version of Internet Explorer are you referring to? Works fine in the IE browsers I have tested (Ie7, IE8, IE9).

    Hey Dean – Sorry to be a pain again.

    Hmm. Just tried it on IE9 on Windows7.

    Surprised to hear you say it works, especially on the older versions. Everything I have seen says that IE does not yet support history.pushState() ( http://stackoverflow.com/questions/3722815/does-internet-explorer-support-pushstate-and-replacestate )

    I wonder if I am missing some kind of workaround? My site is http://whatthefestival.com/_wp

    Thanks much.

    Do you know of any other sites utilizing your plugin? Just curious to take a look. I’m wondering if my issues are unique to my situation.

    Even still, seems like some integration with Modernizr or even maybe History.js plugin could resolve any compatibility issues.

    Plugin Author Dean Williams

    @deano1987

    Right, I see sorry I didn’t realise you were on about the history feature (skimmed your post), I apologies.

    I was aware pushState wouldn’t work in older versions of IE but thought it worked in the latest ones :s. But thats for the information I will work on the code and provide the “fallback method” you are talking about!

    Thanks for this 🙂

    quick update. There are definitely more elegant solutions and there must be ways to recreate the same functionality in IE using History.js.. but for now, wrapping the history.pushState call in a conditional check like

    if (typeof history.pushState !== “undefined”) {
    }

    alleviates the js error and gets the site working in IE. It doesn’t update the URL but I’m really not too concerned with perfect functionality for IE people.

    Plugin Author Dean Williams

    @deano1987

    I have now implemented your recommended fix, but as you suggest, I need to implement a better approach ASAP

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Advanced AJAX Page Loader] Doesn't work in Internet Explorer’ is closed to new replies.