Support » Plugin: WooCommerce » Internet Explorer 8 responsiveness issues

Viewing 6 replies - 1 through 6 (of 6 total)
  • Roy Ho

    (@splashingpixelscom)

    I believe this is not an issue with WooCommerce plugin but with your theme. How are you including JS files into your theme? And what is the exact error you’re getting? So I am assuming this breaks the responsiveness in IE8?

    Hi,

    The script is being included only on Internet Explorer browser and this is the code I use in HTML head for it:

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <script>window.html5 || document.write('<script src="<?php echo WM_ASSETS_THEME; ?>js/html5.js"><\/script>')</script>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
    <![endif]-->

    Please try to have a look at the link I’ve provided. The issue is only occuring when viewing WooCommerce pages, not other pages of the website.

    The JS error is: “SCRIPT5007: Unable to get property ‘indexOf’ of undefined or null reference css3-mediaqueries.js, line 314 character 1”

    Thanks.

    Plugin Author Mike Jolley

    (@mikejolley)

    I’m not seeing any errors on the page you posted – is this IE only?

    Yes, IE8 only.

    Plugin Author Mike Jolley

    (@mikejolley)

    If its IE8 only, and coming from the css3 JS file which it loads, I fail to see how this is WC..

    The line in question in your JS file:

    if(_23.getAttribute("rel").indexOf("style")>-1&&_23.href&&_23.href.length!==0&&!_23.disabled){

    I’m not 100% sure what its doing, but it looks like its looking for attributes which aren’t there. Why not raise a ticket or view the help files for that particular library?

    I don’t get this JS error on non-WooCommerce pages. That’s why I thought it might be related to some WC JavaScripts it uses.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internet Explorer 8 responsiveness issues’ is closed to new replies.