Bootstrap multi-level menu implementation code and bootstrap code
Recently I encountered a problem when I was using Bootstrap for a project. I only gave the second-level menu on the official website, but the actual use must be more than second-level menus. So on the Internet to see a third-party tool: bootstrap-submenu, address: https://github.com/vsn4ik/bootstrap-submenu
You can download the source code.
Add the bootstrap-submenu.jsand bootstrap-submenu.css files to the project.
Add:
<A href = "#" rel = "external nofollow" class = "data-toggle" data-toggle = "dropdown" data-submenu>
This is mainly the final submenu.
And then in JS:
$ (Function () {$ ('[data-submenu]'). submenupicker ();});
In this way, you can
The above is the implementation code of the Bootstrap multi-level menu introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave a message and the editor will reply to you in time. Thank you very much for your support for the help House website!