Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / examples / simple-widgets / qtips.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5     <title>Tips Example</title>
6     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
7
8     <!-- GC -->
9         <!-- LIBS -->
10         <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
11         <!-- ENDLIBS -->
12
13
14     <script type="text/javascript" src="../../ext-all.js"></script>
15
16     <link rel="stylesheet" type="text/css" href="qtips.css" />
17     <script type="text/javascript" src="qtips.js"></script>
18
19     <style type="text/css">
20         .tip-target {
21             width: 100px;
22             text-align:center;
23             padding: 5px 0;
24             border:1px dotted #99bbe8;
25             background:#dfe8f6;
26             color: #15428b;
27             cursor:default;
28             margin:10px;
29             font:bold 11px tahoma,arial,sans-serif;
30             float:left;
31         }
32     </style>
33
34     <!-- Common Styles for the examples -->
35     <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
36 </head>
37 <body>
38 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
39
40     <h1>Tips examples</h1>
41     <p>Note that the js and css is not minified so it is readable. See <a href="qtips.js">qtips.js</a> for the tip creation code
42     and <a href="qtips.css">qtips.css</a> for the css.</p>
43
44     <h3>Easiest Tip</h3>
45     <div id="tip1" class="tip-target">Basic ToolTip</div>
46     <div id="tip2" class="tip-target">autoHide disabled</div>
47     <div id="ajax-tip" class="tip-target">Ajax ToolTip</div>
48     <div id="track-tip" class="tip-target">Mouse Track</div>
49     <div id="tip4" class="tip-target" ext:qtip="My QuickTip">QuickTip</div>
50     
51     <div class="x-clear"></div>
52     <h3>Callout Tip</h3>
53     <div id="leftCallout" class="tip-target" style="width: 150px;">Anchor right, rich content</div>
54     <div id="bottomCallout" class="tip-target" style="width: 200px;">Anchor below</div>
55     <div id="trackCallout" class="tip-target" style="width: 150px;">Anchor with tracking</div>
56
57     <div style="display:none;">
58         <div id="content-tip">
59             <ul>
60                 <li>5 bedrooms</li>
61                 <li>2 bathrooms</li>
62                 <li>Large backyard</li>
63                 <li>Close to transport</li>
64             </ul>
65             <div class="x-clear"></div>
66             <img src="images/house.jpg" alt="Website Thumbnail" />
67         </div>
68     </div>
69 </body>
70 </html>