Skip to content

Trigger Top Level Menu Items Only? #24

Description

@gergs

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)

`

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