Skip to content

Lightweight JS function to dynamically add tooltips to html elements. No dependencies required. Very simple way to add tooltip labels to your application.

Notifications You must be signed in to change notification settings

russellramey/quicktips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Synopsis

Quicktips is a very lightwight JS funciton that dynamically adds tooltips to html elements. They are automatically positioned below and centered horizontally based on width of the tooltip and parent element. Simply add the JS to your project or page, adjust your markup accodingly, thats it.

Markup

Step one (only step really): Add a data-qt attribute to any element you want a tooltip on.

<a href="#" data-qt="Tooltip Label Here">Link Text</a>

JS

Include the Javascript in your page or add it to your external JS file.

About

Lightweight JS function to dynamically add tooltips to html elements. No dependencies required. Very simple way to add tooltip labels to your application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages