make a definition appear when I hover over a word

  • Author
    Posts
  • #757085

    dkbr37
    Member

    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 livingwaters2011.wordpress.com.

    #757188

    1tess
    Moderator Emeritus

    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.

    #757293

    dkbr37
    Member

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

    #757296

    timethief
    Member

    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.

    #757299

    1tess
    Moderator Emeritus

    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.

    #757300

    1tess
    Moderator Emeritus

    “‚Ķof words you define repeatedly‚Ķ”

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