Skip to content
Simple sexy tooltips, in JavaScript.
JavaScript
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.
COPYING
README.md
sexytooltip.css
sexytooltips.js

README.md

SexyTooltips

With SexyTooltips is easier than ever to add nice clean tooltips to pages.

Usage

Insert the following into the <head> element.

<script src="sexytooltips.js" type="text/javascript"></script>
<link rel="stylesheet" href="sexytooltip.css" />

Then add the .sexytooltip class to any element you want to display a clean toolwith.

If you want all elements with a title attribute to display a clean tooltip, place the following in your <head> element also:

<script type="text/javascript">
  $(document).on({
    mouseenter: function(){
      $(this).sexyTooltip();
    }
  }, '[title],[data-tooltip]');
</script>

License

SexyTooltips is released under the BSD 3-clause license.

Copyright

Copyright (c) 2012 Nirix

You can’t perform that action at this time.