forked from jaz303/tipsy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
58 lines (37 loc) · 1.52 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Twitter Bootstrap Twipsies for jQuery
(c) 2011 dave stone [[email protected]]
Based on:
tipsy, facebook style tooltips for jquery
version 1.0.0a
(c) 2008-2010 jason frame [[email protected]]
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.