HTML CSS jQuery 2-Tier Menu Issue

So I made this super stripped down version of a html css jquery navigation menu, and given the code below, it handles submenu items as if it were the containing li. I suppose I can understand that it see the submenu ul as part of the li. The question becomes how do I separate that behavior, such that the submenu links will actually be followed and not preventDefault'ed.
Edit: I want all the top level links and submenu links to work as normal. The only things I am trying to manipulate are the top level li's that have a submenu.

以上就是HTML CSS jQuery 2-Tier Menu Issue的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准