Static tooltips (beta)
Tooltips that appear on one side of an element.

Please note that this is currently a beta project, so it may not work as intended in certain environments.
Setup
First, you'll need to load the .JS and .CSS files. Place these lines somewhere between the <head> and </head> tags:
Usage
There are three things you need to add to your element for a tooltip to appear.
class=give-static-tooltip(this is configurable to anything, in the options).data-tooltip="Text", where "Text" is whatever you want to be displayed inside the tooltip. You can technically use HTML in here, but it might look a little funky.data-tooltip-side="x", where "x" is one of:top,right,bottom,left.
For example:
This is all you need to add tooltips to your site!
Last updated
Was this helpful?