keep Accordion all closed when opening the page

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
mhsouza
 
 
Posts: 7
Joined: Sun Jul 05, 2020 7:02 pm

keep Accordion all closed when opening the page

Post by mhsouza »

How do I keep Accordion all closed when I open the page and also how do I keep one area open when opening another?

When using Layout mode Bootstrap, the Active panel false option is not applied.
When using jQuery UI the option is added, but it doesn't work due to the lack of quotes, which is not being added to the compiled code (active: false ~ active: 'false').
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: keep Accordion all closed when opening the page

Post by Pablo »

Bootstrap Accordion does not support 'false'

However, it works for jQuery UI. There should not be quotes.
Make sure the option 'collapsible' must be enabled.

See also:
https://api.jqueryui.com/accordion/#option-active
mhsouza
 
 
Posts: 7
Joined: Sun Jul 05, 2020 7:02 pm

Re: keep Accordion all closed when opening the page

Post by mhsouza »

There are really no quotes, I got confused.
It worked, but I couldn't keep one open while I open the next.

Thanks for the support.
Post Reply