Open benmneb opened 2 years ago
on second thought, i dont think this is me. i think its sutta central.
if you go directly to https://suttacentral.net/sn22.84/en/sujato?layout=sidebyside&reference=main/pts¬es=asterisk&highlight=false&script=latin#pts-vp-pli3.109 (or its short form https://suttacentral.net/sn22.84/en/sujato#pts-vp-pli3.109) it doenst even scroll to the correct place. but pressing enter in the URL bar after the page has already loaded does (which is why it seems like my params might be the problem).
im guessing because when the page loads, element with id pts-vp-pli3.109 doesnt exist yet. you can see the sutta content stagger in a bit after the header and footer load.
When I click on the first link, it scrolls to the correct place for me.
The second link will only work if your default setting is that the PTS ids are displayed.
In any case, is it allowable to have two ?
in a url? I'd say it's better to not add params.
Also, I think Google can give them the referrer if they want to know. I also don't think Bhante ever looks at the analytics. 😁
When I click on the first link, it scrolls to the correct place for me.
hmm true, safari iOS scrolls to to it, but firefox, chrome and safari on macOS dont for me. can you get it to work on desktop?
In any case, is it allowable to have two ? in a url? I'd say it's better to not add params.
i doubt it. your probably right
I also don't think Bhante ever looks at the analytics. 😁
🥲
can you get it to work on desktop?
I'm on Windows FF and it works.
But on chrome it does not. Huh. Strange. As you said, if you put the cursor in the url bar after the page has loaded and press enter, then it does scroll to the spot.
from https://discourse.suttacentral.net/t/suttacentral-2021-bug-reports-here/19609/215