• In General Settings
    there is the following;

    Unbind JavaScript Events
    To avoid conflicts with theme menu systems, JavaScript events which have been added to menu items will be removed by default.

    Re – “added to menu items
    is that the original theme menu, or the Max Mega Menu,
    that is having the Javascript removed.
    i.e. does this disable some Javascript features in MMM, or does it over-ride some Javascript features in the theme menu?

    Can you please consider making an improvement to the description so this is clear?
    Any additional help might be useful ;
    a) so the user is aware that playing with this setting is destructive, or recoverable
    b) this setting can be used to correct certain types of problems

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

    (@megamenu)

    Hi MK,

    It can be any JavaScript event added by anything (either custom code or by your theme) to the menu.

    It is mainly there for people who understand what a JavaScript event is, if you don’t know then leave it as “Yes” as it won’t be causing any problems. If you are writing your own custom JavaScript and want it to be applied to the menu, set it to “No”.

    Regards,
    Tom

    Thread Starter MKSnMKS

    (@mksnmks)

    Hi Tom,
    Thanks for replying.

    Re

    “anything (either custom code”

    do you mean customcode introduced by the MMM plugin, or custom code entered by the user within the MMM menu plugin, or custom code intruduced elsewhere?

    Re

    “Re – “added to menu items”
    is that the original theme menu, or the Max Mega Menu,
    that is having the Javascript removed”

    Is it possible to be more specific with the word “menu” by using a term that is more fully accurate, such as;
    a) “any menu”
    b) “all menus”
    c) “original theme menu”
    d) “MMM menu”

    The additional information you have provided here about suitable default/recommended settings and best choice for situations, would be a useful addition to the text beside this setting option. A suitable location may be on the right hand side of the checkbox.

    Thanks for your help.

    Plugin Author megamenu

    (@megamenu)

    1. Custom code, just like custom CSS, is code you have written yourself
    2. The MMM settings only apply to MMM enabled menus

    The suitable/recommended settings are all applied by default already. Those that are writing their own custom JavaScript events for the menu will understand what “Unbind JavaScript Events” means, otherwise you can just leave the setting alone.

    Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Max Mega Menu – ambiguity in JavaScript setting description’ is closed to new replies.