Standard moo_accordeon (mootools accordeon) opens the first toggler.
I would like them all closed and only top open when clicked. Is this possible?
I tried altering moo_accordion.html5, but without luck.
Is it even possible?
Standard moo_accordeon (mootools accordeon) opens the first toggler.
I would like them all closed and only top open when clicked. Is this possible?
I tried altering moo_accordion.html5, but without luck.
Is it even possible?
I think the accordion items are all open until the js is started. So at the very least I'd say you can alter the accordion js file so it doesn't start with one opened. But I never use the accordion, so I can't show you any code.
Easy peasy....
just add "display: -1,
on about line 8 of "moo_accordion.html5"
EDIT: in contao 3 just add:
underneath:Code:display: -1,
opacity: false,
alwaysHide: true,
about line 8
Last edited by lostrisq; 08/02/2014 at 14:39.
Bookmarks