Trying to make my accordian menu open all sections perminantly

  • 1
  • Question
  • Updated 8 years ago
http://www.j-autos.com/online-shop.php

Check my link and can anybody tell me how to make my menu stay open on both sections all the time as with layout etc it will look better with a constant menu open on the left for all sections. thanks
Photo of darrell duke

darrell duke

  • 30 Posts
  • 0 Reply Likes
  • frustrated

Posted 8 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Darrell,

I'm going to ask Sanja or Diane to take a look at this when they are back online. Otherwise in the meantime possibly someone else on the forum will be able to help with this.

Kind Regards,
Emmy
Photo of Callum

Callum

  • 357 Posts
  • 32 Reply Likes
<!--

Hi Darrell,

I've had a look at your source code and I think I may have found a solution.

Where your source code says:

"mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content

--- Change 'collapseprev' to false
--- Change 'defaultexpanded' to [0, 1]

That should work

Hope this helps

Callum

-->
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Great work Callum!
Photo of darrell duke

darrell duke

  • 30 Posts
  • 0 Reply Likes
Cheers Callum, check out my shop now ive used your code,
www.j-autos.com/online-shop
Photo of Callum

Callum

  • 357 Posts
  • 32 Reply Likes
Hi Darrell, Glad this helped! Your site does look better now :)