]> source.dussan.org Git - jquery-ui.git/commitdiff
Added compound test for Tabs with Tooltips
authorjzaefferer <joern.zaefferer@gmail.com>
Thu, 25 Mar 2010 22:23:11 +0000 (18:23 -0400)
committerjzaefferer <joern.zaefferer@gmail.com>
Thu, 25 Mar 2010 22:23:11 +0000 (18:23 -0400)
tests/visual/compound/tabs_tooltips.html [new file with mode: 0644]
tests/visual/index.html

diff --git a/tests/visual/compound/tabs_tooltips.html b/tests/visual/compound/tabs_tooltips.html
new file mode 100644 (file)
index 0000000..00046fe
--- /dev/null
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Compound Visual Test : Tabs in Tabs</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.tooltip.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.tabs.js"></script>
+       <script type="text/javascript">
+       $(function() {
+               $("#tabs").tabs();
+               $("a").tooltip();
+       });
+       </script>
+</head>
+<body>
+
+<div id="tabs">
+       <ul>
+               <li><a href="#tabs-1" title="first tab tooltip">First</a></li>
+               <li><a href="#tabs-2" title="second tab tooltip">Second</a></li>
+       </ul>
+       <div id="tabs-1">
+               <a href="#" title="title content">label</a>
+       </div>
+       <div id="tabs-2">
+               <a href="#" title="other title content">other label</a>
+       </div>
+</div>
+
+</body>
+</html>
index 8896076ec5b2c85eceb9630ba39d6ee6fad29175..8f481022541095b77700b05bf22b9580f77fab43 100644 (file)
@@ -20,6 +20,7 @@
        <li><a href="compound/draggable_accordion.html">Draggable Accordion</a></li>
        <li><a href="compound/sortable_accordion_sortable_tabs.html">Accordion within Tabs, both Sortable</a></li>
        <li><a href="compound/tabs_tabs.html">Tabs contains Tabs</a></li>
+       <li><a href="compound/tabs_tooltips.html">Tabs with Tooltips</a></li>
        <li><a href="compound/widgets_in_dialog.html">All Widgets within a Dialog</a></li>
 </ul>