You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.5 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. <!-- GC -->
  8. <!-- LIBS -->
  9. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  10. <!-- ENDLIBS -->
  11. <script type="text/javascript" src="../../ext-all.js"></script>
  12. <link rel="stylesheet" type="text/css" href="qtips.css" />
  13. <script type="text/javascript" src="qtips.js"></script>
  14. <style type="text/css">
  15. .tip-target {
  16. width: 100px;
  17. text-align:center;
  18. padding: 5px 0;
  19. border:1px dotted #99bbe8;
  20. background:#dfe8f6;
  21. color: #15428b;
  22. cursor:default;
  23. margin:10px;
  24. font:bold 11px tahoma,arial,sans-serif;
  25. float:left;
  26. }
  27. </style>
  28. <!-- Common Styles for the examples -->
  29. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  30. </head>
  31. <body>
  32. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  33. <h1>Tips examples</h1>
  34. <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
  35. and <a href="qtips.css">qtips.css</a> for the css.</p>
  36. <h3>Easiest Tip</h3>
  37. <div id="tip1" class="tip-target">Basic ToolTip</div>
  38. <div id="tip2" class="tip-target">autoHide disabled</div>
  39. <div id="ajax-tip" class="tip-target">Ajax ToolTip</div>
  40. <div id="track-tip" class="tip-target">Mouse Track</div>
  41. <div id="tip4" class="tip-target" ext:qtip="My QuickTip">QuickTip</div>
  42. <div class="x-clear"></div>
  43. <h3>Callout Tip</h3>
  44. <div id="leftCallout" class="tip-target" style="width: 150px;">Anchor right, rich content</div>
  45. <div id="bottomCallout" class="tip-target" style="width: 200px;">Anchor below</div>
  46. <div id="trackCallout" class="tip-target" style="width: 150px;">Anchor with tracking</div>
  47. <div style="display:none;">
  48. <div id="content-tip">
  49. <ul>
  50. <li>5 bedrooms</li>
  51. <li>2 bathrooms</li>
  52. <li>Large backyard</li>
  53. <li>Close to transport</li>
  54. </ul>
  55. <div class="x-clear"></div>
  56. <img src="images/house.jpg" alt="Website Thumbnail" />
  57. </div>
  58. </div>
  59. </body>
  60. </html>