Skip to main content
Topic: Menu listing (Read 4955 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Menu listing

I am a bit confused by the menu listing in ElkArte. Would be great if someone can explain it.

Re: Menu listing

Reply #1

Agree with you. It is not entirely to understood.



Regards Stephan

Re: Menu listing

Reply #2

Well, that's a rather generic question, I'm not entirely sure what you mean, sorry... :-[
Any specific question?
Bugs creator.
Features destroyer.
Template killer.

Re: Menu listing

Reply #3

Yes, generic. Could you please explain (when free ) how it is structured ?

Re: Menu listing

Reply #4

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.
Bugs creator.
Features destroyer.
Template killer.

Re: Menu listing

Reply #5

Which classes are involved ?

Re: Menu listing

Reply #6

Wizard, what browser are you using? I'm going to give you the tools to answer your own question.

Re: Menu listing

Reply #7

Firefox.  :)


Re: Menu listing

Reply #9

Thanks @Joshua Dickerson

Re: Menu listing

Reply #10

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

Not sure what you are asking either :(

The "code" is basically

menulevelX <- menulevel is the class applied to the UL that contains the menu items and X (1,2,3) is the level of nesting
listlevelX <- 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

I saw many types of classes

main_menu, menu_nav, menu_sidebar
menulevel1,2,3
menu1,menu2,menu3
linklevel1,2,3
listlevel1,2,3

instead of 2 you mentioned above.

Also, which all files have menu's css ?
Last Edit: October 12, 2015, 07:25:52 am by Wizard

Re: Menu listing

Reply #13

I'll let someone else try and explain it better, thats the best I can do :(

Re: Menu listing

Reply #14

It's ok. Thanks for trying.