• Was looking for a way for informational text to show up once the mouse hovers over a few words anywhere within the website. I see that there are some plugins that handle this…….

    http://ww.wp.xz.cn/extend/plugins/hover/

    ………but are not quite what I seek. Im looking for a method for words with a specific markup to be what gets the text showing up upnn it being hovered over.

    For example, lets say I have the words “Option 1” between two list tags (<li>) I would want it to read “Here is text” upon someone mousing over </li>
    <li>Option 1</li>
    Note that I specifically want it to work for all instances of “Option 1” that appear enclosed within <li> tags.

    Is this request tooo far fetched?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WebmistressM

    (@webmistressm)

    Bumping this topic. Maybe there is a different way to do this entirely. I just want people to be able ot select options from a checkbox, but have a way to see what those options are *in detail* from that page where they are listed. Tooltips seem to work well for glossary entries so I figured maybe the same could be done.

    Seems that most of the tooltip plugins are not setup in lieu of WordPress Custom Content Types.

    Thread Starter WebmistressM

    (@webmistressm)

    Ill have to look into this but I wonder if these kinds of popups can deal with parsed code: http://www.youtube.com/watch?v=DrfXUyYyrLs&feature=youtu.be

    Here is the code for that I want to parse
    <?php print_custom_field('product_options', array('<li>[+value+]</li>','<ul>[+content+]</ul>') ); ?><br />

    I think the issue is that it is using an array command to display all the items that the administrator checks (within the admin/backend) for any given product. That will change depending on what options are available for the item.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hover Annotations On HTML or PHP Markup’ is closed to new replies.