Menu listing October 11, 2015, 01:30:02 pm I am a bit confused by the menu listing in ElkArte. Would be great if someone can explain it.
Re: Menu listing Reply #1 – October 11, 2015, 02:15:07 pm Agree with you. It is not entirely to understood.
Re: Menu listing Reply #2 – October 11, 2015, 06:01:09 pm Well, that's a rather generic question, I'm not entirely sure what you mean, sorry... Any specific question?
Re: Menu listing Reply #3 – October 11, 2015, 06:06:36 pm Yes, generic. Could you please explain (when free ) how it is structured ?
Re: Menu listing Reply #4 – October 11, 2015, 06:12:13 pm The problem is that on a generic question I could answer anything without giving you any useful information...It's an ul list and each submenu is a nested ul.It uses superfish and superclick.Dunno what else add.
Re: Menu listing Reply #6 – October 11, 2015, 08:22:34 pm Wizard, what browser are you using? I'm going to give you the tools to answer your own question.
Re: Menu listing Reply #8 – October 11, 2015, 08:51:30 pm You should already know this but here: https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS
Re: Menu listing Reply #10 – October 11, 2015, 10:19:05 pm Which all css files contains menu elements ? index.css says Quote$MENUS...............Main and secondary menus.Which are main and secondary menus ?
Re: Menu listing Reply #11 – October 12, 2015, 06:59:56 am Not sure what you are asking either The "code" is basicallymenulevelX <- menulevel is the class applied to the UL that contains the menu items and X (1,2,3) is the level of nestinglistlevelX <- listlevel is the class applied to the LI's inside the menulevel, so inside a menulevel1 should reside listlevel1 items.If a listlevel1 has its own sub menu then you add a ul menulevel2 in that list with its own set of listlevel2 items. And if a drop down needs its own drop down (only admin area I think) then it gets a menulevel3 ul with listlevel3 li's inside.I'm not sure there is s menulevel1 class or just a defined menu_whatever div to hold the various menus, like main, quick, etc since thats generally a custom positioning div, like allowing the admin side menus instead of top menu.The menus work without JS enabled as well for those that do that, super fish + hover intent are used to remove some of the jittery aspects of css only menus to improve a11y access.
Re: Menu listing Reply #12 – October 12, 2015, 07:16:43 am I saw many types of classesmain_menu, menu_nav, menu_sidebarmenulevel1,2,3menu1,menu2,menu3linklevel1,2,3listlevel1,2,3instead of 2 you mentioned above.Also, which all files have menu's css ?
Re: Menu listing Reply #13 – October 12, 2015, 07:45:27 am I'll let someone else try and explain it better, thats the best I can do