Cookie Law Info
[resolved] IE 8 bug (2 posts)

  1. andy_moyle
    Posted 4 years ago #

    I'm afraid there is another issue on an install with IE8!
    That install uses curvycorners.js from http://www.curvycorners.net to round corners on earlier versions of IE

    The error alert is

    CurvyObject warning
    converting inline elementto inline-block tag:A
    class:cookie-link-button curvyIgnore
    Parent tag: Div
    Parent clas: left-panel

    Surely error alerts should be off on a live plugin ?


  2. Richard
    Plugin Author

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cookie Law Info
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.