We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10402
    • 3 Posts
    I am first time user and looking to create dropdown menu exactly like http://www.undp.org

    I have spent considerable time playing with CSS, wayfinder and mootools and somehow could not replicate downdown menu of above site. So, instead of trying another 2-3 weeks figuring out, i thought posting here for a quick pointers on how i should be proceeding. Or better, if there is already a solution, please share it.

    Thank you.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That menu doesn’t need Javascript. You can do exactly the same thing with a plain CSS drop-down menu.

      http://www.muddydogpaws.com/development/wayfinder/examples/example-2.html
        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
        • 10402
        • 3 Posts
        Ahhh there it is!!!

        Thank you so much for speedy reply. I have already in process of checking it and reading it line by line.

        The things i like in mootools is sliding effect that we find in default "Modxhost" template (which is similar to link i have given). I guess i will get there once i get full grasp of link that you have given.

        Thank you once again.

          • 1343 ☆ A M B ☆
          • 2,213 Posts
          I would suggest starting with the menu and getting that functional first. Once you have a working/functional menu then consider adding the effects (JS/Mootools). In general with sites I develop the last thing to get added is Javascript of any form.

          The reasoning is two fold, one to speed development and debugging (JS adds extra layer to debug) and two some people disable so the core should function 100% without JS.
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting