Skip to content

Apply the script two times on one page #4

Description

@pshemek

I'd like to use the script for 2 navigations on one page:

$("#menu-main").mobileMenu({
  prependTo: '#header nav .container',
  switchWidth: 600
});
$("#menu-footer").mobileMenu({
  prependTo: '#footer .footer-menu',
  switchWidth: 600
});

But only the first one works. Footer navigation disappears.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions