1 tipsy - Facebook-style tooltip plugin for jQuery
2 (c) 2008-2010 Jason Frame (jason@onehackoranother.com)
3 Released under The MIT License.
7 tipsy is a simple jQuery plugin for generating Facebook-style tooltips.
9 It's used by Twitter, Github and Bitbucket, amongst others.
13 http://onehackoranother.com/projects/jquery/tipsy
17 Hosted at GitHub; browse at:
19 http://github.com/jaz303/tipsy/tree/master
23 git://github.com/jaz303/tipsy.git
27 1. Copy the contents of src/{images,javascripts,stylesheets} to the corresponding asset directories in your project. If the relative path of your images directory from your stylesheets directory is not "../images", you'll need to adjust tipsy.css appropriately.
29 2. Insert the neccesary elements in your document's <head> section, e.g.:
31 <script type='text/javascript' src='/javascripts/jquery.tipsy.js'></script>
32 <link rel="stylesheet" href="/stylesheets/tipsy.css" type="text/css" />
34 Remember to include jquery.tipsy.js *after* including the main jQuery library.
36 3. Initialise Tipsy in your document.onload, e.g.:
38 <script type='text/javascript'>
40 $('a[rel=tipsy]').tipsy({fade: true, gravity: 'n'});
44 Please refer to the docs directory for more examples and documentation.