rahimsiz/jquery.bootstrap.twipsies
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Twitter Bootstrap Twipsies for jQuery (c) 2011 dave stone [dave@davecstone.com] Based on: tipsy, facebook style tooltips for jquery version 1.0.0a (c) 2008-2010 jason frame [jason@onehackoranother.com] Released under The MIT License. == DESCRIPTION: Twitter Bootstrap Twipsies is a simple jQuery plugin for generating Twitter-style tooltips. == HOMEPAGE: https://github.com/davestone/jquery.bootstrap.twipsies == SOURCE: Hosted at GitHub; browse at: https://github.com/davestone/jquery.bootstrap.twipsies/tree/master Or clone from: git://github.com/davestone/jquery.bootstrap.twipsies.git == USAGE: 1. Copy the contents of src/{javascripts} to the corresponding asset directories in your project. 2. Insert the necessary elements in your document's <head> section, e.g.: <script type="text/javascript" src="/javascripts/jquery.bootstrap.twipsies.js"></script> Remember to include jquery.bootstrap.twipsies.js *after* including the main jQuery library. 3. Initialise Twipsies in your document.onload, e.g.: <script type='text/javascript'> $(function() { $('a[original-title]').each(function () { $(this).twipsy({ delayOut: 0, position: $(this).attr('twipsy-position') || 'above' }); }); }); </script> Please refer to the docs directory for more examples and documentation. == A NOTE ON FORKING: By forking this project you hereby grant permission for any commits to your fork to be merged back into this repository and, with attribution, be released under the terms of the MIT License.