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

Trigger Top Level Menu Items Only? #24

Open
gergs opened this issue Mar 15, 2016 · 0 comments
Open

Trigger Top Level Menu Items Only? #24

gergs opened this issue Mar 15, 2016 · 0 comments

Comments

@gergs
Copy link

gergs commented Mar 15, 2016

I noticed that if the nav menu has 3 levels of list items, the 2nd level is not clickable. Is there a way to only activate DropIt for the first level of list items? The 3rd level of nav is not supposed to display at all and is only in place for use in the mobile menu. Thank for the great plugin and for any help!

$('.navigation .main > ul ').dropit();

`

  • Top Level 1(clickable)
    • Second Level Item 1 (clickable)
    • Second Level Item 2 (currently NOT clickable due to 3rd level)
      • Third Level Item 1 (needs to stay hidden)
  • Top Level 2 (clickable)
    • Second Level Item 1 (clickable)
    • Second Level Item 2 (clickable)

`

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