| author | ymh <ymh.work@gmail.com> |
| Wed, 01 Jun 2016 14:07:43 +0200 | |
| changeset 103 | d2af8a210f5d |
| parent 35 | 94a1dc255022 |
| permissions | -rw-r--r-- |
|
35
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
3 |
<head> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
5 |
<title>jQuery Tooltip Plugin Demo</title> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
6 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
7 |
<link rel="stylesheet" href="../jquery.formtip.css" /> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
8 |
<link rel="stylesheet" href="screen.css" /> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
9 |
<script src="../lib/jquery.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
10 |
<script src="../lib/jquery.bgiframe.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
11 |
<script src="../lib/jquery.dimensions.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
12 |
<script src="../lib/jquery.delegate.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
13 |
<script src="../jquery.formtip.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
14 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
15 |
<script src="chili-1.7.pack.js" type="text/javascript"></script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
16 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
17 |
<script type="text/javascript"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
18 |
$(function() {
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
19 |
$("form:first").formtip();
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
20 |
$("form.test").formtip({
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
21 |
positionParent: function(element) {
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
22 |
return element.parent(); |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
23 |
}, |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
24 |
left: -5 |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
25 |
}); |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
26 |
}); |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
27 |
</script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
28 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
29 |
<style type="text/css"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
30 |
form.test div {
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
31 |
width: 250px; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
32 |
border: 1px solid black; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
33 |
float: left; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
34 |
margin: 1em; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
35 |
} |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
36 |
form.test p {
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
37 |
border: 1px solid #999; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
38 |
} |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
39 |
</style> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
40 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
41 |
</head> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
42 |
<body> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
43 |
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/">jQuery Tooltip Plugin</a> Demo</h1> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
44 |
<div id="main"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
45 |
<form> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
46 |
<fieldset id="set1"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
47 |
<legend>Three elements with tooltips, default settings</legend> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
48 |
<a title="A tooltip with default settings, the href is displayed below the title" href="http://google.de">Link to google</a> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
49 |
<br/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
50 |
<label title="A label with a title and default settings, no href here" for="text1">Input something please!</label> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
51 |
<br/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
52 |
<input title="Note that the tooltip disappears when clicking the input elementthe input elementthe input element" type="text" value="Test" name="action" id="text1"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
53 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
54 |
<h3>Code</h3> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
55 |
<pre><code class="mix">$('#set1 *').tooltip();</code></pre>
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
56 |
<input title="Another tooltip element I" type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
57 |
</fieldset> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
58 |
</form> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
59 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
60 |
<form class="test"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
61 |
<div> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
62 |
<p> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
63 |
<label>II</label><input title="Another tooltip element II" type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
64 |
</p> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
65 |
<p> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
66 |
<label>III</label><input title="Another tooltip element III" type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
67 |
</p> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
68 |
</div> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
69 |
<div style="width: 200px"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
70 |
<input title="Another tooltip element IV" type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
71 |
<br/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
72 |
<input type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
73 |
<br/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
74 |
<input title="Another tooltip element VI" type="text" value="Test"/> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
75 |
</div> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
76 |
</form> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
77 |
|
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
78 |
</div> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
79 |
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
80 |
</script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
81 |
<script type="text/javascript"> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
82 |
_uacct = "UA-2623402-1"; |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
83 |
urchinTracker(); |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
84 |
</script> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
85 |
</body> |
|
94a1dc255022
Commit the all thd project created with the framework symfony
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
86 |
</html> |