/[projects]/misc/horsensspejder-web/jquery/jquery-ui-1.10.3/demos/tooltip/default.html
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/jquery-ui-1.10.3/demos/tooltip/default.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: text/html
File size: 1538 byte(s)
initial import
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>jQuery UI Tooltip - Default functionality</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.9.1.js"></script>
8 <script src="../../ui/jquery.ui.core.js"></script>
9 <script src="../../ui/jquery.ui.widget.js"></script>
10 <script src="../../ui/jquery.ui.position.js"></script>
11 <script src="../../ui/jquery.ui.tooltip.js"></script>
12 <link rel="stylesheet" href="../demos.css">
13 <script>
14 $(function() {
15 $( document ).tooltip();
16 });
17 </script>
18 <style>
19 label {
20 display: inline-block;
21 width: 5em;
22 }
23 </style>
24 </head>
25 <body>
26
27 <p><a href="#" title="That's what this widget is">Tooltips</a> can be attached to any element. When you hover
28 the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.</p>
29 <p>But as it's not a native tooltip, it can be styled. Any themes built with
30 <a href="http://themeroller.com" title="ThemeRoller: jQuery UI's theme builder application">ThemeRoller</a>
31 will also style tooltips accordingly.</p>
32 <p>Tooltips are also useful for form elements, to show some additional information in the context of each field.</p>
33 <p><label for="age">Your age:</label><input id="age" title="We ask for your age only for statistical purposes."></p>
34 <p>Hover the field to see the tooltip.</p>
35
36 <div class="demo-description">
37 <p>Hover the links above or use the tab key to cycle the focus on each element.</p>
38 </div>
39 </body>
40 </html>

  ViewVC Help
Powered by ViewVC 1.1.20