Tipr is a small and simple tooltip plugin
Tipr is a small and simple jQuery tooltip plugin. It works on almost any element, and it's free and open source.
Simple, small, flat, cool
Tipr displays attractive tooltips, and it's around 2KB, CSS included. The tooltips can appear above or below almost any HTML element. It also reacts to the size of the viewport.
Tipr is open source and released under the MIT License, and is compatible with all modern browsers.
Hover over the Latin text.
Copy the tipr folder to your site and include the following in the
<head> section of your page.
The first line loads jQuery via the Google Hosted Libraries
. The remaining lines load the Tipr CSS and the Tipr jQuery plugin.
.tipr() method. Include this towards the end of the page.
Adding a tooltip
To add a tooltip to an HTML element, add the Tipr
data-tip data attribute contains the tooltip text.
Just about anything can have a tooltip.
The only restraint is that the block element should have a
The options for Tipr are set as arguments in the
The speed the tooltip displays, in milliseconds. The default is 200.
The tooltip position, either above or below. The default is 'below'.
The space at the bottom of the viewport, in pixels, at which the tooltip overrides the below position setting and displays above. The default is 70.
The look of Tipr is set entirely via CSS, and it comes with a few ready-baked themes. Just replace
tipr.css with a theme.
Overriding the mode inline
You can override the mode setting, and change the tooltip position, by using the
data-mode data attribute.
Tipr works with Chrome 32+, Microsoft Edge, IE9+, Firefox 43+, Safari 9.1+ and Opera 35+.
We offer a range of flexible support
plans for our jQuery plugins, including free.
© 2017, Tipue. Made in London.