We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25424
    • 5 Posts
    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?


    • That’s CSS. Do a google for "suckerfish dropdowns".
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25424
        • 5 Posts
        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?
          • 22629
          • 194 Posts
          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]]
            Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

            modx Revolution 2.2.6
            Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

            Content-Managed Websites Built on MODX
          • Or use CSS like this:
            li ul { display:none; }

            Then you can show only the subcategory of the active menu item:
            li.here ul { display:block; }
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org