Facebook-style tooltip javascript library.
Tipsy Native is a simple javascript library for generating Facebook-style tooltips.
This is almost a direct port to native javascript of tipsy by Jason Frame.
http://digitlab.github.io/tipsy-native
// TODO:
-
Copy the contents of dist to the corresponding asset directories in your project.
-
Insert the necessary elements in your document's
<head>
section, e.g.:<script src='/js/tipsy.js'></script> <link rel="stylesheet" href="/css/tipsy.css" type="text/css" />
-
Initialise Tipsy in your document.onload, e.g.:
<script type='text/javascript'> document.addEventListener("DOMContentLoaded", function(event) { Tipsy.watchSelector('a[rel=tipsy]'); }); </script>
Please refer to the docs directory for more examples and documentation.
Tipsy Native is licensed under The MIT License (MIT).