Support » Plugin: Cookie Law Info » [Plugin: Cookie Law Info] IE 8 bug

Viewing 1 replies (of 1 total)
  • Plugin Author Richard

    (@richardashby)

    There are no error alerts on the cookielawinfo plugin, the error is being thrown in the JS console by CurvyObject on line 414:

    // try to handle attempts to style inline elements
    
      if (!boxWidth && curvyBrowser.get_style(this.box, 'display') === 'inline') {
        this.box.style.display = 'inline-block';
        curvyCorners.alert(this.errmsg("Converting inline element to inline-block", "warning"));
        boxWidth = this.box.clientWidth;
      }

    You haven’t said how you’re using the script itself. I downloaded the code and it looks like it leaves things alone unless it’s invoked. It appears your script styles block level objects (makes sense) so the CSS must declare it block.

    The CSS classes .leftPanel and .rightPanel are floated divs used to align the text and button, maybe you should apply that script’s .round class to the containing DIV, not the contents. The container DIVs used in cookielawinfo have a unique prefix so maybe you’re applying it in the wrong place.

    Is the issue just that it throws the error? Anything else? If you can let me know the detail I might be able to help you more.

    If you want to edit the html inside cli-script you just need to change “notification_html” after all it’s just HTML and CSS being input into a DIV.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Cookie Law Info] IE 8 bug’ is closed to new replies.