aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip/custom-style.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-09-10 11:33:46 -0400
committerScott González <scott.gonzalez@gmail.com>2012-09-10 11:33:46 -0400
commit303f20e1b3c977d75047bed1a3533a180d73fab5 (patch)
treec8cf97b57f2493313dfd92c1dfceedb29d137d67 /demos/tooltip/custom-style.html
parent9e259c6e5369bf272dd14df7aea1372c5b064300 (diff)
downloadjquery-ui-303f20e1b3c977d75047bed1a3533a180d73fab5.tar.gz
jquery-ui-303f20e1b3c977d75047bed1a3533a180d73fab5.zip
Demos: Cleanup.
Diffstat (limited to 'demos/tooltip/custom-style.html')
-rw-r--r--demos/tooltip/custom-style.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/tooltip/custom-style.html b/demos/tooltip/custom-style.html
index c9035d44b..48afe23c4 100644
--- a/demos/tooltip/custom-style.html
+++ b/demos/tooltip/custom-style.html
@@ -12,7 +12,7 @@
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
- $( ".demo" ).tooltip({
+ $( document ).tooltip({
position: {
my: "center bottom-20",
at: "center top",
@@ -79,8 +79,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
@@ -90,13 +88,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>