Results 1 to 3 of 3

Thread: [solved] Accordeon open / close

  1. #1
    User
    Join Date
    08-04-09.
    Posts
    230

    Default [solved] Accordeon open / close

    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?

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Accordeon open / close

    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.

  3. #3
    User
    Join Date
    08-04-09.
    Posts
    230

    Default [solved]Re: Accordeon open / close

    Easy peasy....

    just add "display: -1,

    on about line 8 of "moo_accordion.html5"

    EDIT: in contao 3 just add:

    Code:
     display: -1,
    underneath:
    opacity: false,
    alwaysHide: true,

    about line 8
    Last edited by lostrisq; 08/02/2014 at 14:39.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •