Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on May 23, 2024

I think I'm seeing the same thing here.

For example, if I have a 3 tier menu, and I click on an item in the third tier, the third tier doesn't remain open when the next page loads. This causes me to have to click back through the menus to get to the option I selected.

Any help on this would be awesome! I tried to just copy the basic template laid out on the demo.

from metismenu.

simmogs avatar simmogs commented on May 23, 2024

I'm having the same trouble.

from metismenu.

ghiotion avatar ghiotion commented on May 23, 2024

Same here. Did anyone get a fix?

from metismenu.

mpkhoury avatar mpkhoury commented on May 23, 2024

Same problem. Any ideas?

from metismenu.

LorenDorez avatar LorenDorez commented on May 23, 2024

#5

See the above issue. It requires modifying the source code but will give you what you want.

from metismenu.

muratsu avatar muratsu commented on May 23, 2024

try adding something like this in init function and make the child node active

      $(this._element)
        .find('li.' + this._config.activeClass)
        .parents('ul')
        .attr('aria-expanded', true)
        .addClass(this._config.collapseClass + ' ' + this._config.collapseInClass);

      $(this._element)
        .find('li.' + this._config.activeClass)
        .parents('li')
        .attr('aria-expanded', true)
        .addClass(this._config.activeClass);

from metismenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.