Open item on Classic Accordion with hashtag in URL

Hi, I’m using the Classic Accordion element (unfortunately, the newer “Accordion” element will not work for our purposes here), and I’d like to be able to let users use a URL like https://www.example.com/#item1 to be able to land on the page with the accordion item with that unique ID of “item1” to be opened when the page renders. I know there is some JS examples for use with the newer “Accordion” element, but I need to be able to accomplish this with the Classic Accordion element. Can you please assist with this? Thank you. :smiley:

Hi David,

If your requirement is to just open accordion item via hash, it is definitely possible using v2 Accordion. You may inspect the Accordion item > Customize tab : Add Hash

See this: https://screencast-o-matic.com/watch/cYh11bgfUm
We do recommend using the v2 elements
Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.