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前端其它相关文章!