Coder Social home page Coder Social logo

Multiple Menus about responsive-nav.js HOT 10 CLOSED

starflower avatar starflower commented on July 28, 2024
Multiple Menus

from responsive-nav.js.

Comments (10)

juliankrispel avatar juliankrispel commented on July 28, 2024

Not supported I guess, I'll be making a pull request shortly for this.

from responsive-nav.js.

giorgio79 avatar giorgio79 commented on July 28, 2024

Fantastic! Most sites have a main menu, plus a user menu, so this update is essential. What is the hold up with getting this committed? More reviews are needed?

from responsive-nav.js.

momendo avatar momendo commented on July 28, 2024

@viljamis seems to be more responsive on Twitter than on Github. @juliankrispel What do you need? A review or maybe you need to summerize the patch for @viljamis

from responsive-nav.js.

juliankrispel avatar juliankrispel commented on July 28, 2024

@momendo I've summarized it well enough in my pull request I believe. the plugin author just needs to react. I can't accept a pull request for him, because it's not my repository.

from responsive-nav.js.

arielsalminen avatar arielsalminen commented on July 28, 2024

@momendo @juliankrispel The reason why I haven't merged this yet is that this doesn't seem to calculate the height correctly. For me it returns height always as "undefined" if the new option is used, which then breaks the transition.

Another issue, but not that big one, is that this pull request doesn't follow the guidelines which can be found here: https://github.com/viljamis/responsive-nav.js/blob/master/CONTRIBUTING.md

from responsive-nav.js.

juliankrispel avatar juliankrispel commented on July 28, 2024

thanks for responding @viljamis I'll update my pull request shortly

from responsive-nav.js.

arielsalminen avatar arielsalminen commented on July 28, 2024

@juliankrispel I think the problem is this line (L386) and that it's never actually true:

if (typeof nav.inner === "array") {  }

If you update the pull, can you also format all the code as the rest of the code has been formatted (using double quotation marks and similar spacing) and make sure that there are no typos? (I spotted few).

Also, is this line (L382) really needed?

window.e = nav.inner;

from responsive-nav.js.

juliankrispel avatar juliankrispel commented on July 28, 2024

will do! thanks again! Ouch, did I leave that in there. My bad, I appear to have rushed that pull request...

from responsive-nav.js.

giorgio79 avatar giorgio79 commented on July 28, 2024

Looks like here is a working patch #45

from responsive-nav.js.

arielsalminen avatar arielsalminen commented on July 28, 2024

This is now supported.

from responsive-nav.js.

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.