Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    There are probably a few ways to do this, off the top of my head:

    1. Check the positioning of the menu (is the display left value 0?)
    2. Check the display value of the menu (is it set to display none).
    3. Create a click toggle function (so when clicked its open, then back to closed etc.)
    4. Check the class name ‘responsive_menu_pro_opened’ is included as this is added when the menu is open.

    Hope the above all helps.

    All the best

    Thread Starter MarcoPal

    (@marcopalz)

    Using the display block value works like a charm.

    In my case i used the following code:

    if($(‘#responsive-menu’).css(‘display’) == ‘block’)
    {
    jQuery(“#click-menu”).click();
    }

    Thank you!

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi marco,

    Great that did it for you!

    All the best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘detect when menu is open’ is closed to new replies.