Collapse-O-Matic seems to break URL anchored links
-
Steps to repro:
1. Click on this link https://www.drs.wa.gov/plan/pers2/#how-do-you-retire (or load it into any browser)
2. Note that you are taken to the bottom of the page
3. Confirm the anchor is there by loading this page https://www.drs.wa.gov/ once the page is loaded add the anchor to the end of the URL #how-do-you-retire and you will note that the intended action occurs.After adding multiple accordions I’ve noticed that off page URL’s with anchors in them no longer work but go directly to the bottom (or nearly so) of the page. Here is a test URL ( https://www.drs.wa.gov/plan/pers2/#how-do-you-retire ) that prior to adding the Collapse-O-Matic accordions took you directly to the anchor item.
Should also note that the only anchors that are affected are the anchors that occur after the first accordion, any anchors that occur before the accordion still work.
Issue details
Pages I added Accordions to:
https://www.drs.wa.gov/plan/pers1/
https://www.drs.wa.gov/plan/pers2/
https://www.drs.wa.gov/plan/pers3/You can verify that this works on the rest of the site that I have not included the Collapse-O-Matic accordions https://www.drs.wa.gov/plan/trs2/#how-do-you-retire
On page anchors still work fine (I have a TOC on the left that has anchors to the same sections) so this is only when linking with an off-page URL or a bookmark.
I tried adding the “findme” attribute just to confirm I wasn’t missing something. I’ve also reviewed the whole support section for similar issues but none of them seemed to match my situation.
Any help would be appreciated,
Thanks Mike
The page I need help with: [log in to see the link]
- The topic ‘Collapse-O-Matic seems to break URL anchored links’ is closed to new replies.