Your problem #1 is that mootools-art-0.87.js
is loading before core
, put that .js
file after core
and more
.
Your problem #2 is that you are using the wrong selector in the Accordion, replace jQuery('accordion')
with document.id('accordion')
.
jQuery('#accordion')
, with a #
would work but don't mix jQuery there.
And, btw, you might want do do var myAccordion= new Fx.Accordion( //etc
just so you can call it later if needed.