Javascript menu

I have a javascript accordion menu I'm using for an exhibit in our old version of Omeka ( We have just upgraded to 2.2.2 and I'm trying to get the same menu to work. Pasting the javascript into a text layout page didn't work, which was my method in the old version. I then tried putting the js file into the javascripts directory in theme and adding <?php queue_js_file('ouija-accordion'); ?> to the header.php file. Neither method worked. Any help appreciated.

It's hard to say much without seeing the "new" version of the menu that's not working. The script you're using is simple, but potentially somewhat brittle.

Just in case anyone else wants to do this - I found a js menu that works by pasting the code in a text layout