Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakobbossek/jquery.tooltip
Simple jQuery based tooltip plugin for rudimentary tooltips with few options.
https://github.com/jakobbossek/jquery.tooltip
Last synced: 3 days ago
JSON representation
Simple jQuery based tooltip plugin for rudimentary tooltips with few options.
- Host: GitHub
- URL: https://github.com/jakobbossek/jquery.tooltip
- Owner: jakobbossek
- Created: 2014-03-19T13:46:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-29T11:56:27.000Z (over 10 years ago)
- Last Synced: 2024-10-11T18:33:07.521Z (27 days ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jquery.tooltip
==============Simple jQuery based tooltip plugin for rudimentary tooltips with few options.
Usage
=====Simply use an arbitrary jQuery selector to select the elements which you want to display tooltips on hover and hook the
plugin to the selection. For example if we want to display tooltips for each link in the document with a title attribute,
we can use the following snipplet to realize this. Keep in mind that the tooltip text is extracted from the ```title``` attribute
of the elements.```JavaScript
jQuery(document).ready(function($) {
$("a[title]").tooltip();
});
```There are a few options which can be provided to the plugin. For example setting ```sticky``` to ```true``` results in
sticky tooltips, which will not follow the mouse movement. Take a look at the defaults in the plugin for more options.