forked from rubentd/darktooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.html
More file actions
148 lines (127 loc) · 3.51 KB
/
examples.html
File metadata and controls
148 lines (127 loc) · 3.51 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DarkTooltip</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/examples.css">
<link rel="stylesheet" href="css/darktooltip.css">
<link rel="icon" type="image/png" href="http://rubentd.com/img/favicon.png">
</head>
<body id="home">
<div id="fixed" class="box fixed-box" data-tooltip="I don't like to move" >I'm fixed</div>
<main class = "main">
<h1>DarkTooltip</h1>
<section>
<div class = "example">
<h2>Default</h2>
<div id="def" class="box" data-tooltip="Hello world" >default</div>
</div>
</section>
<section>
<div class="example">
<h2>HTML content</h2>
<div id="def-html" class="box" data-tooltip="#html-content">
html
</div>
<div id = "html-content" style="display:none;">
<h2>wow <strong>such content</strong> very html</h2>
<img src="http://bit.ly/18VOk3C">
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Confirm</h2>
<div id="confirm" class="box" data-tooltip="Are you sure?">
Click to delete
</div>
</div>
</section>
<br><br><br><br>
<section>
<div class="example">
<h2>Confirm with custom events</h2>
<div id="confirm-light" class="box" data-tooltip="For real?">
Click me too
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Modal (new)</h2>
<div id="modal" class="box" data-tooltip="Modal content">
Click me<br> I'm modal
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Sizes</h2>
<div id="small-s" class="box" data-tooltip="Hey!">
Small
</div>
<div id="medium-s" class="box" data-tooltip="Listen!">
medium
</div>
<div id="large-s" class="box" data-tooltip="Watch out!">
large
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Gravity</h2>
<div id="south" class="box" data-tooltip="Hey!">
gravity:south
</div>
<div id="west" class="box" data-tooltip="Listen!">
gravity:west
</div>
<div id="north" class="box" data-tooltip="Watch out!">
gravity:north
</div>
<div id="east" class="box" data-tooltip="Look!">
gravity:east
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Animations</h2>
<div id = "effect-none" class = "box" data-tooltip="Simple but effective">
none
</div>
<div id = "effect-flipin" class = "box" data-tooltip="Whooo!">
flipIn
</div>
<div id = "effect-fadein" class = "box" data-tooltip="Hello there">
fadeIn
</div>
</div>
</section>
<hr>
<section>
<div class="example">
<h2>Themes</h2>
<div id = "theme-dark" class = "box" data-tooltip="In Western culture, white and black traditionally symbolize the dichotomy of good and evil">
dark
</div>
<div id = "theme-light" class = "box" data-tooltip="Metaphorically related to light and darkness and day and night">
light
</div>
</div>
</section>
<br><br>
<a href="http://rubentd.com/darktooltip">< Back to downloads</a>
</main>
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/jquery.darktooltip.js"></script>
<script src="js/examples.js"></script>
</body>
</html>