Greetings,
I’m trying to create a Q&A information section on a client’s website. The Accordion/Toggle element is exactly what I need, except for one thing–my client really wants there to be images with each question. Unfortunately, the Accordion/Toggle element is text only.
I am experimenting with placing linked images above the Accordion element, linked with the anchor (e.g., #toggle-id-1) associated with the proper section of the Accordion element. Clicking the linked image does indeed trigger the Accordion, but it also causes the page to scroll down to the question instead of just staying where it is.
Is there a way to use an image, such that when you click it, it triggers the Accordion to toggle open, without any automatic scrolling? I want the Accordion to work exactly the way it normally does, but triggered by clicking the image, instead of by clicking the question on the Accordion element.
Hey Isaac,
Please have a look at this thread
Best regards,
Victoria
