diff options
Diffstat (limited to 'demos/tooltip/tracking.html')
-rw-r--r-- | demos/tooltip/tracking.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/tooltip/tracking.html b/demos/tooltip/tracking.html index 84c40e580..9b6b5c272 100644 --- a/demos/tooltip/tracking.html +++ b/demos/tooltip/tracking.html @@ -18,7 +18,7 @@ </style> <script> $(function() { - $( ".demo" ).tooltip({ + $( document ).tooltip({ track: true }); }); @@ -26,8 +26,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 @@ -37,13 +35,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>Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |