Closed benoit74 closed 1 week ago
Edit: it relies on JS and CSS:
<script defer="true" type="text/javascript" src="https://cdn.libretexts.net/github/LibreTextsMain/Leo%20Jayachandran/Glossarizer/libretextsGlossarizer.js"></script><link rel="stylesheet" type="text/css" href="https://cdn.libretexts.net/github/LibreTextsMain/Leo%20Jayachandran/Glossarizer/libretextsGlossarizer.css" /><script>
Analyzing a bit https://cdn.libretexts.net/github/LibreTextsMain/Leo%20Jayachandran/Glossarizer/libretextsGlossarizer.js:
word-a
the word-b
is used, and word-b
is present in the glossary as well, then word-b
is highlighted, and if user hover word-b
its definition is displayed (but it works pretty bad on mobile)What I hence plan to do:
Glossary pages content is special and it looks it needs JS to be rendered.
While most glossary pages contains only sample content, there are few (I found at least one) with proper content:
ID: 28160 URL: https://geo.libretexts.org/Courses/Sierra_College/Physical_Geology_(Sierra_College_Edition)/zz%3A_Back_Matter/20%3A_Glossary