Is there a way to add pop up information boxes?

  • Author
    Posts
  • #708646

    danb377
    Member

    I’m using my wordpress blog as a website. I’m not sure what the terminology is, but I’d like to have an info button that I can place next to a word or phrase that requires a definition so that when clicked or hovered over a pop up box will appear with the definition rather than being linked to a page or a post. Or if that’s not possible, can i have a post that this info button can be linked to but will not show up on with my actual blog posts? Thank you!

    The blog I need help with is spinestrong.wordpress.com.

    #708793

    1tess
    Moderator Emeritus

    This works when a reader hovers over the text:
    <span style="cursor:help;" title="INFORMATION_THAT_POPS_UP">THE_WORD_READERS_SEE</span>

    #708797

    danb377
    Member

    I’m sorry but I don’t know what that means. Do I enter that somewhere? I don’t know the techy side of wordpress

    #708799

    airodyssey
    Member

    When editing a post/page, you switch to the HTML tab and you copy and paste the code 1tess gave you. Then you replace the text with whatever you want (“information that pops up” and “the word readers see”).

    #708800

    1tess
    Moderator Emeritus

    You type that into the html editor. Substitute “INFORMATION_THAT_POPS_UP” with the definition you want, and substitute “THE_WORD_READERS_SEE” with the word you want to define.

    #708801

    1tess
    Moderator Emeritus

    ~~airodyssey good morning!

    #708802

    danb377
    Member

    So i put that code in place of the original word or phrase within the sentence?

    #708804

    danb377
    Member

    great! Let me try it. Thank you!

    #708805

    1tess
    Moderator Emeritus

    Yes, but you must switch to the html editor.

    You can type your sentence as you want in the visual editor. Then switch to the html editor. You can use your browser’s find function to find the word you want to define. Paste in the code there, and put the info in the appropriate places.

    #708808

    danb377
    Member

    That works perfect! I swear you people are geniuses! Thanks again!

    #708809

    1tess
    Moderator Emeritus

    You are welcome! (but I’m not a genius—just a regular person ≥^!^≤ )

    #708810

    airodyssey
    Member

    (And g’morning to you too tess!)

The topic ‘Is there a way to add pop up information boxes?’ is closed to new replies.