We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27449
    • 211 Posts
    Hello, I want put the menu of this url to work in a template. ( http://www.solutoire.com/experiments/mootools/acc_ex3.html )
    I already put these menu to work in static html very well... but when I copy for the modx the sliding of the menu doesn’t work, I think that is because the template doesn’t read the js file (mootools.js), but I confirm the url of the js file and it is correct huh

    When I execute the document that have this template I have an javascript error, don’t know if it is important, but the error it is:
    Error: Object expected
      • 18206
      • 59 Posts
      have you set the document base?

      <base url = "[(base_url)]" />
        • 22958
        • 50 Posts
        Hi Sjscosta,

        Would you please send us the scripts for testing ? Can it be used for SUBmenu item ?

        Thanks.
        Best Regards,
        - pedma -
          • 12808
          • 70 Posts
          After many try&error I have found solution:
          download exact copy of mootools form solutoire.com: http://www.solutoire.com/experiments/mootools/mootools.js, and call it from template.

          Every other mootools version doesn’t work...
          http://www.spotkg.com/index.php?id=128

          Also, you have to log out from manager to test it (there is a conflict with mootools.js already loaded for MODx quickedit).

          Ivan
            --
            www.spotkg.com