DennisHermannsen Posted July 26, 2015 Share Posted July 26, 2015 Hi. Is it possible to create a multi-level navbar? I'm currently working on a design for v6, but I've never in my life worked with hooks before, so everything is brand new to me http://bootsnipp.com/snippets/featured/multi-level-navbar-menu This is what I want: 1. Hover over menu item 'Menu 1' 2. Hover over 'Dropdown' 3. When hovering, a new 'menu' appears, containing other items 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 26, 2015 Author Share Posted July 26, 2015 Bump - might've posted in the wrong section... 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 26, 2015 Share Posted July 26, 2015 action hooks used to generate HTML menu items code, but what you want the hovering stuff is CSS related so as soon as you have menu items generated for you, CSS rules can be applied to achieve what you need here was that clear? here is how you can control menu items: http://docs.whmcs.com/Client_Area_Navigation_Menus_Cheatsheet 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 27, 2015 Share Posted July 27, 2015 hmm, I wonder how easy it would be to dump the WHMCS navbar method and just use another bootstrap menu - that would remove the ridiculous need to use hooks to modify the menus! oh don't get me wrong, I can write the hooks (and have for clients), it's just annoying to have to do so. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 27, 2015 Author Share Posted July 27, 2015 sentq, it's not entirely CSS related. It requires changes to the HTML code as well Oh Brian, believe me... That was the first think I thought of - removing the need for hooks and just use plain HTML... But I like learning new stuff, and I've never used hooks before, so I'm hooked on learning this! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 27, 2015 Share Posted July 27, 2015 sentq, it's not entirely CSS related. It requires changes to the HTML code as well the same answer it's not related to action hooks, if you need to apply changes to HTML code you need to do it with /templates/six/includes/navbar.tpl 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 27, 2015 Author Share Posted July 27, 2015 Ah, ok. Thanks for the help Will try to have a look at it later today. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.