• Resolved Balou

    (@harryluiten)


    jQuery(‘#wb_tree ul li’).has(‘.sub-menu’).prepend(‘<span>+</span>’);
    jQuery(‘#wb_tree ul ul’).hide();

    If you choose hide in the .js file it shows only the main levels, if you say show it shows everything, offcourse.

    Is it possible to choose show but restrict it till a certain kind of dept in the children?

    For example
    >a
    >>b
    >>>c
    >>>>d
    >>>>>e

    Open a,b and c in show status but hide d and e?

    Kind regards

    Harry

    https://www.ads-software.com/plugins/wp-parsi-navigation-trees/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Restrict menu open’ is closed to new replies.