We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2896
    • 70 Posts
    I’ve treen trying to work out my css to use the Dropmenu with collapsable items.

    I have the following situation:

    A dropmenu call to a div on the right-hand top side with only the top folders:
    [!DropMenu? &startDoc=`0` &levelLimit=`1` &hereClass=`header`!]


    I then have another menu section in the left-hand side of the site that shows only the menu for the clicked section in above menu:

    [!DropMenu? &startDoc=`[[UltimateParent]]`!]


    The only problem is that when I click through in the left menu to level 2 or 3, that this level/page is loaded but the menu does not stay open with this last level. It collapses again.

    I suppose this has something to do with my css and the .last class.
    i don’t know how to keep this last level revealed after having it clicked.

    I use the exact css code as in Scotty delicious’ tutorial (which is great, thx)
    http://modxcms.com/forums/index.php/topic,3682.0.html

    without any reference to ’last’ class.

    Help??

      • 25663 MODX Staff
      • 12,272 Posts
      DropMenu is definitely deprecated and you’re pretty much on your own there... however, there’s lots of added stuff in Wayfinder that makes it entirely flexible for pretty much any need you might have.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 2896
        • 70 Posts
        okay, i wiil try Wayfinder