-
- I could get one accordion to scroll to the top properly, but I couldn’t get two to scroll to the top. And I didn’t have a chance to work on the page.
The AI Bot provided a script, but I don’t seem to know how to use it properly.
I’ve watched the video on anchors multiple times, I seem to be going backwards.
If you have time for this issue, it would be great.
thxs
….looks like the script the ai posted is gone?
- I could get one accordion to scroll to the top properly, but I couldn’t get two to scroll to the top. And I didn’t have a chance to work on the page.
-
Here is my original question:
-
Is there a way to add a “move to top” button within an accordion (at the bottom) to move to the top of the accordion? (Not floating, as they tend to block text. Just a button that will scroll up to top of the accordion (not top of page)).
-
Is there a way to force the window to scroll to the top of the accordion when it opens? If I open a second accordion, it closes the first one, and places you in the middle of nowhere.