We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28907
    • 16 Posts
    Hi all,

    Thanks for this great forum!
    I’m trying to use an Accordion Menu from the guide:

    http://wiki.modxcms.com/index.php/Accordion_menu_with_Wayfinder_using_JQuery

    I want the menu to expand and follow the parent link at the same time, but I can’t manage to work it out.
    The reveal type is standard "click". I also tried "clickgo", but then it collapses the previous expanded and won’t expand the second...

    Does anybody have experience with that or any good tips?
      • 12320
      • 88 Posts
        Thanks to the authors of the following code :
        Easy Newsletter (module)
        SiteMap (snippet)
        Codepress (Plugins)
        Strict URLs (Plugins)
        Virtual Aliases (Plugins)
        Maxygallery (snippet)
        • 4971
        • 964 Posts
        Yea, I played with click and clickgo but at the end
        I sticked with mouseover, 200ms. This seems to give
        the most control to the user, on mouseover the headers
        expand and the user can click on the header or on the
        submenu items...
          Website: www.mercologia.com
          MODX Revo Tutorials:  www.modxperience.com

          MODX Professional Partner
          • 23299
          • 1,161 Posts
          Can you post what your jquery script call looks like?


          Thanks!

            • 4971
            • 964 Posts
            jQuery script call?
            do you mean wfJs?
              Website: www.mercologia.com
              MODX Revo Tutorials:  www.modxperience.com

              MODX Professional Partner
              • 28907
              • 16 Posts
              I simply copy pasted from the Wiki so it is the exactly same jquery call...
                • 28907
                • 16 Posts
                Quote from: Focoweb at Nov 20, 2009, 03:48 AM

                you can try to use menumatic:
                http://greengeckodesign.com/?q=menumatic#examples

                This is indeed a nice menu, but not accordion.
                  • 16430
                  • 217 Posts
                  Hi, can you please give me a hand with implementing MenuMatic to wayfinder? I really like the sample demo from this site:
                  http://greengeckodesign.com/projects/MenuMatic/examples/horizontal/index.htm
                  Some Config pack would be awesome...
                    • 10702
                    • 107 Posts
                    I followed this guide to install Accordion in MODx-Revo:

                    http://wiki.modxcms.com/index.php/Accordion_menu_with_Wayfinder

                    I also added this lines, but these files are not included in my MODx-Installation:

                    <script src="[[++site_url]]manager/media/script/scriptaculous/prototype.js" type="text/javascript"></script>
                    <script src="[[++site_url]]manager/media/script/scriptaculous/scriptaculous.js" type="text/javascript"></script>

                    Does anybody know where I can get these files or what I have to do to solve this problem?

                    I just saw that there is no media-folder in my manager-folder. Did I make a mistake while the installation-process?

                    Thanks a lot in advance smiley
                    Gerdi
                      • 4971
                      • 964 Posts
                      prototype and scriptaculous are javascript libraries just like jQuery, YUI, ExtJS, Dojo, etc.

                      you have to download them from their websites and place them where you want to access them,
                      I would use the /assets/js/scriptaculous.js and /assets/js/prototype.js and adjust the
                      calls. Or you can place them where your calls indicate,making the appropriate directories
                      on the way...
                        Website: www.mercologia.com
                        MODX Revo Tutorials:  www.modxperience.com

                        MODX Professional Partner