Results 1 to 5 of 5

Thread: Mootools Navigation sub-menu's won't collapse

  1. #1
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Mootools Navigation sub-menu's won't collapse

    I have a mootools navigation drop down menu across the top of a site. Everything works fine when I am on the home page, which has no submenu items, but then I navigate to a second level page, the menu containing that page remains open. I would like this to function so that the menus only show when I hover over the top level link in the menu. How can I accomplish this?

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Mootools Navigation sub-menu's won't collapse

    Do you have Mootools enabled in EVERY page layout you use?

  3. #3
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Mootools Navigation sub-menu's won't collapse

    Mootools template is set to moo_close_all, and still nothing has changed. Any other suggestions?

  4. #4
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Mootools Navigation sub-menu's won't collapse

    Just so everyone knows, I found a solutions. I just removed the following lines in the nav_moomenu template:
    Code:
    <?php if($item['isActive']) : ?>
    ....
    <?php else: ?>
    and also:
    Code:
    <?php endif; ?>
    Hopefully this will help someone in the future.

  5. #5
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Mootools Navigation sub-menu's won't collapse

    Actually, this only fixes it when I navigate to a level_1 page. Still looking for a fix for sub level pages.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •