WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Menu not auto-expanding, how so?

[Resolved] Menu not auto-expanding, how so?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do not want to discourage you but it seems that the version provided does not work, perhaps paid. I tested the plugin and even the colors of the buttons worked.
    Not a decent tutorial is presented ….

    Plugin Author remix4

    @remix4

    @viktorsilfverh@gmail.com your menu is not following the standard wordpress class system for creating menus, which is required in order to identify the current menu itm. This may be due to your theme programming – if you are unsure check with your theme author.

    @vluna assuming your theme is working correctly it works perfectly. Apart from that I dont actually understand what you are trying to say since there isnt a paid version. There are plenty of demos available at:

    http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-accordion-menu-widget/

    My entire menu auto expands on “any” child page. How would I put a standard wordpress class system in place? I based my theme off a modified twentyeleven theme – so the same functions.php is in place.

    Any Ideas?

    Actually, I just disabled all checkboxes and realized that all submenu items are open when I am on “any” child page?
    I am using WP 3.5

    Can anyone help me with this? My whole menu is open when i visit “any” child page…

    Hi there!

    I’m having the same issue with auto-expand.
    As i can see, my theme (RootsTheme) is adding “active” to the
    <li>, instead of <a> inside this <li>. I think it is the problem.

    So, the question is: what i have to change in JS source of Accordion Menu to make all things work properly?

    Any help is very appreciated! Thx.

    So, i’ve managed to solve the problem by myself. 🙂
    If someone will need to, here is the solution:

    In the JS file jquery.dcjqaccordion.2.9.js, located in the folder of Accordion Plugin, search for this:

    if(defaults.autoExpand == true) {
    $(‘li.’+defaults.classExpand+’ > a’).addClass(classActive); }

    And add another string so it will be:

    if(defaults.autoExpand == true) {
    $(‘li.’+defaults.classExpand+’ > a’).addClass(classActive);
    $(‘li.active > ul’).slideToggle(defaults.speed);
    }

    It will make the active submenu slide out on the realative page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Menu not auto-expanding, how so?’ is closed to new replies.