How to open an accordion row/section using J-Query | Community
Skip to main content
New Participant
March 22, 2018
Solved

How to open an accordion row/section using J-Query

  • March 22, 2018
  • 1 reply
  • 651 views

Hi,

I would like to embed a link on a page (using RTE component). This link would go to another page and upon page load, open a specific accordion section/row. Note that the page with the accordion is using a customized version of the Accordion component.

If I can just JavaScript, would I place the script on the page with the accordion or the page with the link?

Any help or guidance would be appreciated.

Thanks,

Michelle

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunwarsaluja

Assuming a scenario where you click a link (1) this would take you faqs.html page.

helpdesk is one fo the sections in that accordion with  name=’helpdesk’ so you can use the selector from the url and expand the accordion identifyin the name attribute in the DOM.

Do I make sense ?

(1) - http://mysite/foo/bar/faqs.html#helpdesk

1 reply

KunwarsalujaAccepted solution
Employee
March 23, 2018

Assuming a scenario where you click a link (1) this would take you faqs.html page.

helpdesk is one fo the sections in that accordion with  name=’helpdesk’ so you can use the selector from the url and expand the accordion identifyin the name attribute in the DOM.

Do I make sense ?

(1) - http://mysite/foo/bar/faqs.html#helpdesk