Accordion Default Item Open

bluenadas's picture
bluenadas
Fri, 09/09/2016 - 13:22
#1
Accordion Default Item Open

I want to make Accordions NOT have the first tiem expanded when a page is opned. I know this is taken care of in the awe-frontend-scripts.js file, but the references I've seen on here regarding the edits do not match the current file structure.

Can you identify how this needs to be edited in order to make this happen:

b.accordion({header:">.group >h3",heightStyle:"content",collapsible:true,activate:function(c,d){}

phuonght's picture
phuonght
Fri, 09/09/2016 - 23:29

Hi,

You can please add active: false as following:

b.accordion({header:">.group >h3",heightStyle:"content",collapsible:true,active: false,activate:function(c,d){}
bluenadas's picture
bluenadas
Mon, 09/12/2016 - 11:30

That did it, thank you.

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.