-
Notifications
You must be signed in to change notification settings - Fork 41
/
index.html
88 lines (57 loc) · 2.76 KB
/
index.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>aToolTip Demos</title>
<!-- CSS -->
<link type="text/css" href="css/style.css" rel="stylesheet" media="screen" />
<!-- aToolTip css -->
<link type="text/css" href="css/atooltip.css" rel="stylesheet" media="screen" />
<!-- Scripts -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<!-- aToolTip js -->
<script type="text/javascript" src="js/jquery.atooltip.js"></script>
<script type="text/javascript">
$(function(){
$('a.normalTip').aToolTip();
$('a.fixedTip').aToolTip({
fixed: true
});
$('a.clickTip').aToolTip({
clickIt: true,
tipContent: 'Hello I am aToolTip with content from the "tipContent" param'
});
$('a.callBackTip').aToolTip({
clickIt: true,
onShow: function(){alert('I fired OnShow')},
onHide: function(){alert('I fired OnHide')}
});
});
</script>
</head>
<body>
<div class="primaryWrapper">
<div class="branding">
<h1 class="logo"><a href="#">aToolTip</a></h1>
</div>
<!-- DEMOS -->
<div class="section" id="demos">
<h2>Demos</h2>
<ul class="demos">
<li><a href="#" class="normalTip exampleTip" title="Hello, I am aToolTip">Normal Tooltip</a> - This is a normal tooltip with default settings.</li>
<li><a href="#" class="fixedTip exampleTip" title="Hello, I am aToolTip">Fixed Tooltip</a> - This is a fixed tooltip that doesnt follow the mouse.</li>
<li><a href="#" class="clickTip exampleTip" >On Click Tooltip</a> - This is a click activated tooltip with content passed in from 'tipContent' param</li>
<li><a href="#" class="callBackTip exampleTip" title="Hello, I am aToolTip">Callback Tooltip</a> - This is a click activated tooltip with callback functions.</li>
</ul>
</div>
<!-- END DEMOS -->
<p class="copyright">
Copyright © 20011 Ara Abcarians. aToolTip was built for use with <a href="http://jquery.com">jQuery</a> by <a href="http://ara-abcarians.com/"> Ara Abcarians.</a>
</p>
<p class="license">
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://creativecommons.org/images/public/somerights20.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.
</p>
</div> <!-- /primaryWrapper -->
</body>
</html>