Hey! I am just playing around with the Drop Menu.
So my question: I want to have 5 buttons in a HTML cell but without starting a new line for each button.
The subsites (foldersites) should be displayed in a special cell/table every topic in a new line.
What do i have to do?
2 Drop Menus?
Special Script for Subfolders
Is der any code for a horizontal Menu (with /without Fade effect or anything else?)
and.. Is this MOdx or CSS code?
-
☆ A M B ☆
- 24,524 Posts
That’s CSS. Do a google for "suckerfish dropdowns".
Well, I tried Menu Builder now and nearly understand all tags.
But: The horizontal menu shows also the subpages. Can i hide them with css?
That`s the tag to show them in a special cell?
I also did this using CSS, setting the "float: left" property to my menu class, and removing all bullets etc from the list.
Do you mean that your menu shows all pages underneath your menu root as well, but you only want top-level pages shown?
If so set the parameter levelLimit=1
e.g.:
[[DropMenu? &levelLimit=1 &startDoc=3]]
-
☆ A M B ☆
- 24,524 Posts
Or use CSS like this:
Then you can show only the subcategory of the active menu item:
li.here ul { display:block; }