make a definition appear when I hover over a word

  • Unknown's avatar

    I want to use words that may need explanation. I would like to create the definition once and when I use the word in a post, to make it look like a link, but just have the definition show up if the viewer hovers over that link. I have not figured out how to do it, and I don’t know what to call it to search for it in a forum. I tried it as a link, but it didn’t work.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    What you are looking for is called “cursor:help” which you would place in the html editor like so:
    <span style="cursor:help;" title="DEFINITION">WORD</span>

    DEFINITION is the explanation of the word.
    WORD is what the reader would hover over to see your explanation.

  • Unknown's avatar

    Thank you.
    would I do it a dfferent way to set that definition up once and use it over again?

  • Unknown's avatar

    You would have to enter code into the HTML editor for every word you wish to define and in every post/page you publish that the said defined word appears in.

  • Unknown's avatar

    You can keep code snippets or words you define repeatedly in textedit (or other plain text wordprocessor), or on a draft page on your blog) to copy and paste into each article’s http editor: you don’t have to keep manually re-writing them.

  • Unknown's avatar

    “…of words you define repeatedly…”

  • The topic ‘make a definition appear when I hover over a word’ is closed to new replies.