• Resolved keithxp

    (@keithxp)


    I am having trouble getting the Cookie Law Info Bar to close. I have tried both the default [cookie-button] and [cookie-accept] buttons.

    After reading the FAQ I have gone through disabling plugins but the only one that makes any difference is ‘Multiple Content Blocks’ and if I disable this plugin, the footer and Info Bar disappear completely, so I am wondering if there is a conflict here?

    The site URL is
    http://stephenwoodhams.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, looks like the ubermenu script is causing a conflict because of an error it is generating. Try disabling that and see what happens.

    Richard, that is incorrect, UberMenu is not generating an error. This is the console output on the site in question:

    View post on imgur.com

    As you can see, the error occurs in their site head at line 88, which is this

    <script type="text/javascript">
    jQuery.noConflict();
    jQuery(document).ready(function(){
        jQuery("ul.sf-menu").supersubs({
            minWidth:    12,                                // minimum width of sub-menus in em units
            maxWidth:    27,                                // maximum width of sub-menus in em units
            extraWidth:  1                                  // extra width can ensure lines don't sometimes turn over
                                                            // due to slight rounding differences and font-family
        }).superfish({
            delay:       400,                               // delay on mouseout
            animation:   {opacity:'show',height:'show'},    // fade-in and slide-down animation
            speed:       'fast',                            // faster animation speed
            autoArrows:  true,                             // enable generation of arrow mark-up
            dropShadows: false                              // disable drop shadows
        });
    });
    </script>

    That code has nothing to do with UberMenu

    It looks like the lack of the jQuery “supersubs” function is the issue.

    The UberMenu message (not an error, just a log message) simply indicates that there was some error on document ready which prevented UberMenu from being able to load there, so UberMenu fell back to loading at window.load rather than on document ready.

    I think you’re right that that javascript error is the problem, but that code is not from UberMenu. Thanks.

    Thread Starter keithxp

    (@keithxp)

    I can confirm that disabling UberMenu does not fix the problem. THe Cookie Law Info bar remains visible at all times.

    I think I’ll have to pass this back to our site designer, as my capabilities are limited to little more than adding content and tweaking!

    @sevenspark – thanks for your diagnosis and yes, you are correct it is not UberMenu.

    @keithxp – for your site designer: I have googled briefly and it seems that supersubs is a separate jquery plugin but there is no javascript file supersubs.js in your webpage source which will probably explain the “not a function” error.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Possible conflict with Multiple Content Blocks’ is closed to new replies.