Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can't get accordion to have an active/open state

Contributor ,
Mar 23, 2018 Mar 23, 2018

Hi all,

I built an accordion and am having issues getting one of the tabs to have an active state when landing on the page it's built into. I am guessing this would be js but I'm not having any luck.

This is a link to what I have so far.

Thanks for any help.

http://offers.premierinc.com/accordion_accordion.html

627
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 23, 2018 Mar 23, 2018

jQuery UI Accordion will do what you need.

https://jqueryui.com/accordion/#collapsible

Translate
Community Expert ,
Mar 23, 2018 Mar 23, 2018

jQuery UI Accordion will do what you need.

https://jqueryui.com/accordion/#collapsible

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 26, 2018 Mar 26, 2018
LATEST

Hi Nancy,

Thanks for the link. I really don't want to have to rebuild the css I created and was hoping to find the script to make this work on the one I have built. I've been looking for just the script and am not having any luck.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines