Skip to content

Apply the script two times on one page #4

@pshemek

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.

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