diff options
Diffstat (limited to 'demos/tooltip/default.html')
-rw-r--r-- | demos/tooltip/default.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/tooltip/default.html b/demos/tooltip/default.html index a34acd41d..f1be3de9e 100644 --- a/demos/tooltip/default.html +++ b/demos/tooltip/default.html @@ -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> |