• Resolved leapw

    (@leapw)


    I have got the same problem like https://ww.wp.xz.cn/support/topic/max-mega-menu-issue-with-pop-up/ and would appreciate any help, because the js-snipped is not fixing it for me.

    When scrolling down and clicking the menu icon in the sticky navbar, my links are coming in without the submenus. There is no submenu when hovering any link.

    I inserted the js directly in my head:

    <script>
    	jQuery(document).ready(function( $ ) {
    	
        jQuery('.custom-js a.elementor-icon').on('click', function() {
    
            console.log('menu button clicked, wait 500ms');
            
            setTimeout(function(){ 
                console.log('reinit mmm');
                jQuery('.mega-menu').maxmegamenu(); 
            }, 500);
             
        } );
    });</script>

    Any help would be greatly appreciated.

    Kind regards,
    L

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi leapw,

    Please can you remove the auth login on that link so I can take a look?

    Regards,
    Tom

    Thread Starter leapw

    (@leapw)

    I’m sorry, it’s deactivated now!

    Plugin Author megamenu

    (@megamenu)

    Hi leapw,

    Thanks. I see you’ve added the JS to the header of your page, please can you add it to the footer instead? It needs to be loaded after jQuery.

    Regards,
    Tom

    Thread Starter leapw

    (@leapw)

    Perfect, it works! Thanks a lot! 🙂

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

The topic ‘Mega Menu Javascript not loading in Popup’ is closed to new replies.