I have created a glossary with terms in columns and hidden texts using plain css/html. Each entry is structured like this: A term followed by a hidden explanation, revealed on focus without the use of Java or JS.
Instead of using :hover, I utilize :focus to maintain an open popup window for the explanation. However, I am struggling to create internal links within the glossary entries to refer back to the main entry seamlessly.
I have tried adding tabindex=0 and applying .w:focus .tt{display: inline-block ; cursor:pointer; } in the css, but still can't link one entry from the opened window to another. Any guidance on how to achieve this would be greatly appreciated.
For example, when clicking on 'link to entry alpha' from an opened window of '2nd Entry on beta', I want it to navigate to '1st Entry Alpha'. It seems that the provided javascript code did not resolve this issue as expected, although the glossary functions well otherwise.