Dear @mrrpringle
Maybe in the forum already asked that question and got an answer :-)
Here is a pretty good tutorial for an accordeon with jQuery:
https://css-tricks.com/snippets/jquery/simple-jquery-accordion/
But in the end this here is the key:
$('.accordeon-child-button').on('click', function () {
$(this).parent().toggleClass("accordeon-child-open");
})
Please note this:
http://laytheme.com/documentation.html#custom-javascript
Best!
Marius