aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/default.html
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-10-03 22:37:03 +0200
committerFelix Nagel <info@felixnagel.com>2012-10-03 22:37:03 +0200
commitcca4e77a95eb7024c204f4d0719baa2ef6195ed2 (patch)
tree732a8e171647d9b25b1b2988f09dccc5d182bad7 /demos/tooltip/default.html
parent5e12c54be1813e1f627d3214c11d7520fb46c647 (diff)
parente8bdf468614e59309b4a02ad4f6c29c1d06083c1 (diff)
downloadjquery-ui-cca4e77a95eb7024c204f4d0719baa2ef6195ed2.tar.gz
jquery-ui-cca4e77a95eb7024c204f4d0719baa2ef6195ed2.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'demos/tooltip/default.html')
-rw-r--r--demos/tooltip/default.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/demos/tooltip/default.html b/demos/tooltip/default.html
index a34acd41d..8392e5504 100644
--- a/demos/tooltip/default.html
+++ b/demos/tooltip/default.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Tooltip - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.0.js"></script>
+ <script src="../../jquery-1.8.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.position.js"></script>
@@ -12,7 +12,7 @@
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
- $( ".demo" ).tooltip();
+ $( document ).tooltip();
});
</script>
<style>
@@ -24,8 +24,6 @@
</head>
<body>
-<div class="demo">
-
<p><a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hover
the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.</p>
<p>But as it's not a native tooltip, it can be styled. Any themes built with
@@ -35,13 +33,8 @@ will also style tooltips accordingly.</p>
<p><label for="age">Your age:</label><input id="age" title="We ask for your age only for statistical purposes."></p>
<p>Hover the field to see the tooltip.</p>
-</div><!-- End demo -->
-
-
-
<div class="demo-description">
<p>Hover the links above or use the tab key to cycle the focus on each element.</p>
-</div><!-- End demo-description -->
-
+</div>
</body>
</html>