Dropit icon indicating copy to clipboard operation
Dropit copied to clipboard

Trigger Top Level Menu Items Only?

Open gergs opened this issue 10 years ago • 0 comments

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)

`

gergs avatar Mar 15 '16 12:03 gergs