Skip to content
ezTooltip is a lightweight javascript plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
README.md
eztooltip.js
eztooltip.min.js

README.md

ezTooltip.js

ezTooltip is a lightweight javascript plugin that doesn’t depend on any external library. When minified it is only about 1k. This plugin adds a tooltip to almost any element.

Demo: http://hassanhibbert.github.io/eztooltip/

Sample Usage:

Javascript Setup: Initialize script by passing in the selector for tooltips on the page.

ezTooltip.init('.tool-tip');

HTML Setup: Initialize script by passing in the selector tooltips on the page.

Default tooltip.

<a href="#" title="The description for tooltip" class="tool-tip"> My tooltip </a>

Manually place tooltip at the top.

<a href="#" data-placement="top" title="The description for tooltip" class="tool-tip"> My tooltip </a>
You can’t perform that action at this time.