Text Hover v1.0

I’d like to announce the first official release of the Text Hover plugin (v1.0) for WordPress.

Add hover text to regular text in posts. Handy for providing explanations of names, terms, phrases, and acronyms mentioned in your blog.

The plugin’s official homepage is located at :
coffee2code.com/wp-plugins/text-hover.

This new plugin is part of coffee2code’s extended 14 Days of Plugins (new plugin #16).

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

11 thoughts on “Text Hover v1.0

  1. Hello, I am impressed by your plugins. They are very useful. Concerning the bottom border, I added the “acronym” CSS to my stylesheet but the color of the border is not changing. Any ideas please?

  2. Hello again,

    Sorry I have another question. Is there a way to make the balloon appear longer than 2 seconds or so? It would be a good idea for future releases to make the balloon appear as long as the mouse is over the term/acronym.

  3. I was affraid the response time from the server would be significantly slower and it appears to work quite fast. This really improves my visitors experience.

    I’d only suggest some sort of options in the admin tab so the admin can decide how the “link” is displayed. i.e. how do I know I can hover some of the words to get more infos ? A red dotted line seems to be the standard.

    Besides that, absolutely mandatory.

    Greg

  4. I like your plugin, and I have a request for a minor tweak. Is it possible to have it also work if the acronym is prepended by similar punctuation as is allowed as appended?

    For example:

    
    ... blah blah blah (CSS, XHTML, and XML)
    

    With the current code, the opening CSS doesn’t get caught as it is not prepended by a space/tab.

    All the best…

  5. Scott–Great idea for a plugin and one I could definitely use.

    It looks like this plugin strips out any punctuation that precedes or follows. For example, one of the things I want to use this plugin for is an explanation of various Bible translations (like NIV, ESV, KJV). I’ve defined each of these so that the hover text would say “New International Version” and so forth for each translation. However, if I actually used that last sentence in a post on my site, the commas and closing parenthesis would disappear. It also appears from my testing that if I had (NIV), the hover code would not be added at all because of the opening parenthesis. Is this accurate? And is there anything I could change in the plugin to allow for the punctuation before and after?

  6. Hey, great little plugin. I like the admin interface, but I did not work in WP MU. (wrong form action url). I fixed it this way:
    Made change in “text-hover.php” to fix the save new settings function in WP MU lines 101 and 102
    Changed:

    $action_url = $_SERVER[PHP_SELF] . ‘?page=’ . basename(__FILE__);
    

    into
    $action_url = $_SERVER[REQUEST_URI];
    

    Hope this helps someone.
    Regis

Leave a Reply

Your email address will not be published.