Hover over words and show a small text popup
Here is a screen shot of this in use in wordpress itself but I would like to use in on www.paaudiovisual.co.uk. So I can hover over for example a technical term like "DAC" or "streaming" and it will explain more.
My aim is to find one that is Wordpress friendly and therefore easy to install.
I use the cluetip jQuery script in the DCG settings page. It's not that hard to implement and you can see how I do it in the relevant DCG plugin files, in includes/dfcg-admin-core.php (though, to be honest, my implementation is a little clunky in places...).
1. Enqueue the script itself and its CSS file
2. Create the function script file and enqueue it in the footer (see wp_enqueue_scripts() )
3. Add the relevant markup to your in-post links
4. Add the popup content in appropriate markup in your post.
Before you begin, however, do a search on WP Extend as someone may well have developed a plugin for this type of thing already.
|All times are GMT -5. The time now is 04:03 PM.|
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.