Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply the script two times on one page #4

Open
pshemek opened this issue Sep 21, 2012 · 0 comments
Open

Apply the script two times on one page #4

pshemek opened this issue Sep 21, 2012 · 0 comments

Comments

@pshemek
Copy link

pshemek commented Sep 21, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant