Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

How do I make sure that some glossery words do NOT have a hover? 3 years 7 months ago #7348

  • Martens
  • Martens's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
In other parts of the text the word must have a hover action to the glossery, but not in this specific heading. How do I change that?
Attachments:

Please Log in or Create an account to join the conversation.

How do I make sure that some glossery words do NOT have a hover? 3 years 6 months ago #7361

  • simonbarne
  • simonbarne's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 5
I've found a way but it's pretty hacky. Edit the source of your text:
<ul>
  <li><strong><span class="nogloss1">Een</span></strong>. Je kunt de student meteen aan het begin van de e-learning een interactie laten maken...</li>
</ul>
Then add a style to the page:
.nogloss1:after { content: " interactie"}
Seems to work!


Or - a bit easier - insert a character to break up the word, then hide the character:
<strong>Een inter<span style="display:none">~</span>actie</strong>. Je kunt...
Attachments:
The following user(s) said Thank You: Martens

Please Log in or Create an account to join the conversation.

Last edit: by simonbarne. Reason: Another thought
  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.088 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search