Tippy is a friendly little WordPress plugin that gives you a way to include highly configurable tooltips in your WordPress site. For example:
Hover on meTo form a tooltip you have to use the tippy tags. Be sure to notice in the above example that the tooltip can display HTML. The following line demonstrates how to generate the above tooltip:
[tippy title=”Hover on me”]I am a friendly Tippy tooltip.[/tippy]
To install, download and extract the following file into your WordPress plugins directory then activate it from your Dashboard plugins page. To customize the look of the tooltip look in your plugins/tippy directory and copy the file dom_tooltip.factory.css to dom_tooltip.css and edit the file dom_tooltip.css. You are advised not to edit dom_tooltip.factory.css or you will lose changes any time you update the plugin.
Download
tippy.3.9.0.zip
Additional examples:
News Links1 2 3 4 5 6 7 |
1 | [tippy title="Per-tooltip size" width="300" height="200"]You can set the width and height of individual tooltips[/tippy] |
1 2 3 |
1 | [tippy title="UTF-8 support"] ¥ · £ · € · $ · ¢ · ₡ · ₢ · ₣ · ₤ · ₥ · ₦ · ₧ · ₨ · ₩ · ₪ · ₫ · ₭ · ₮ · ₯ <br /> å,ä,ö Å,Ä,Ö[/tippy] |
1 2 3 4 5 |
1 2 3 | [tippy title="Youtube, anyone?" header="off" width="460" height="365"] <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/17jymDn0W6U&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/17jymDn0W6U&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> [/tippy] |
Short link: http://tcnr.me/xfe7h





Add a Comment
Recent Entries
Tech Talk
Projects
Archive
Tags
this is embarrassing. found it: http://croberts.me/2011/05/28/using-tippy-with-an-image/
Chris,
I am using Tippy in a way you have not intended—to show footnotes in an academic website. Tippy helps me to show the main text and footnote together, instead of the latter being placed at the far bottom. It is far more user-friendly than a mere footnote plugin, in my opinion.
However, I would like to make a request. If you can only make tooltips moveable by the user so that it is possible to read the main text without being concealed by the tooltip, it would be wonderful.
Jimena,
Glad you found it!
Ven. Pandita,
On whether or not I had thought of that use for Tippy, see my Annie plugin.
As for your suggestion, while something like that is possible, it’s a bit beyond anything set up in the plugin code right now and I’ve no plans to add it at this time.
This is great Chris. It fits what I need.
just one question, is it possible to place all the tooltip in the same place, in the right of the website? How?
Thanks!
Gil,
That isn’t possible at this time.
Thanks, very nice plugin.
Chris can tippy execute shortcodes or php like a text or php widget.
I have been trying but not luck.
If no do you plan on adding this functionality at some point?
Thanks
Tim,
It currently won’t handle either, though having it handle shortcodes should be pretty simple. I’ll check into it and should have an update soon.
That would be a godsend, very cool.
Hey Chris,
thank you very much for this great plugin. Could you give me a quick heads-up on two things:
1. Where can I change the Close-Link in the Tippy Box to another language?
2. How do I remove the small tooltip in the grey-box that shows up when I hover over the tippy-link for more than 2 Seconds?
Thanks,
Daniel
Have just updated Tippy to 3.9.0 with two new features:
1. Nested shortcodes – add short code tags within Tippy. Note that this will often not work right – what Tippy has to do to content to get it to work in the Tippy link will often throw off what you expect to see from other Shortcodes.
2. A new option to specify the text of the close link.
Daniel,
For your first question, update to 3.9.0 and specify the text you want on the Tippy Setting page in your dashboard.
For the second question, go to the Tippy Settings page and uncheck “Use title attribute in Tippy links” at the bottom of the settings page.
Hello Chris,
I see that one could embed a Youtube video which is great. Is it possible to embed video stored in the WordPress Media Gallery or Amazon S3, etc?
Thanks,
Quint
Quint,
That’s not something I’ve tested, so I can’t say for sure, but I don’t know why it wouldn’t work.
Chris,
I just used the new tippy w/shortcode, works great! had to play a little with firebug to get the css but so far love it.
THANK YOU
Tim
Chris, is it possible to style the background color of a individual tippy, as in:
[tippy title="My Groups" header="off" background="red"]
The above does not work, hoping there is a method to do this.
Thanks
Tim
Chris, I am using tippy with a shorcode and this part is working fine.
I am tiring to apply a JavaScript function to it:
2
3
4
5
6
7
8
9
10
jQuery(document).ready(function(){
jQuery("div.domTip_tipBody.domTip_noHeader").mouseover(function(){
jQuery("#yyy a.tippy_link").css("background-color","yellow");});
jQuery("div.domTip_tipBody.domTip_noHeader").mouseout(function(){
jQuery("#yyy a.tippy_link").css("background-color","green");
});
});
</script>
but the js is not reading any of the tippy elements e.g “div.domTip_tipBody.domTip_noHeader” Though they do work in my style.css
Asking if you had any ideas on how to get the js to read the tippy elements, or if you can say this will not work (so I can give up tiring to get it to work)
Thanks
Tim
Tim,
On your first question, on styling, there is no way to add styling in the short code, it has to be done via css. From your second question I’m guessing you figured that out?
On the second question, I’ll have to fiddle with that. Are you sure it isn’t matching the element? Could it be matching but not handling the mouseover/mouseout as you expect?
Chris,
The function is running with elements not outputted by tippy, I tested with ‘p’ in place of ‘div.domTip_tipBody.domTip_noHeader’ and it worked as expected.
I found a thread on a forum that had a similar question it suggested:
This part was left out of my comment above
I found a thread on a forum that had a similar question it suggested:
“This looks like a jQuery event delegation issue. If the new DOM elements are added after the page has loaded, jQuery wont read them. So you need to tell jQuery before hand to bind an event if any such element exists now or in future.”
Chris,
This works
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function myscript_in_footer(){
?>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("*").delegate("div.domTip_tipBody","mouseover",function(){
jQuery("#yyy a.tippy_link").css("background-color","#392281");
});
jQuery("*").delegate("div.domTip_tipBody","mouseout",function(){
jQuery("#yyy a.tippy_link").css("background-color","transparent");
});
});
</script>
<?php
}
I hope all this posting was not to annoying
Chris,
Is there a way to get tippy to close instantly when you mouse away, right now there is a lag time.
I tried changing “this.allowFreeze = true;” to “this.allowFreeze = false;”
(only guessing here) but made no difference.
Thanks
Tim
I’m trying to place a fusionchart inside a Tippy tooltip, but when I publish my page (wordpress) the script tag that is used inside the tooltip is completed removed in the code. Is there a filter or something that keeps scripts from running inside a tippy tooltip? Thanks.
Lonnie,
Nothing in Tippy automatically filters out scripts, but I’m seeing a similar issue where scripts cause a problem in the plugin. I’ve never tried including javascript within a tippy tooltip and will have to give it a closer look to see why it’s not working.