How to make the default accordion items all collapsed?

george's picture
george
Sun, 01/31/2016 - 08:18
#1
How to make the default accordion items all collapsed?

I am using AWECOTENT to build the page and use the accordion section, By default the first item is always opened when you load the page. How can I make all the items closed by default when the page is loaded? Any help would be greatly appreciated.

/George

cindy's picture
cindy
Sun, 01/31/2016 - 22:44

Hi,

Please download the attached file in your email, extract and update in md_awecontent/js/awe-frontend-scripts.js

george's picture
george
Mon, 02/01/2016 - 04:00

Awesome. Thanks for the help. When I copied the entire script file,  it broke the MD mega menu, so changed only .accordion({header:">.group >h3",heightStyle:"content",collapsible:!0,active:!1,activate:  in the existing file and it is working!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.