aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/menu
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-18 15:10:44 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-18 15:10:44 +0200
commit8bd0426e367b411b7631464d4e7157a50a641f5b (patch)
tree1a90f3b1f3e78b514f66835efb7cbdcb6cd68961 /tests/visual/menu
parent70ce3f1f7024523c1daba20eedfaf4aca903149b (diff)
downloadjquery-ui-8bd0426e367b411b7631464d4e7157a50a641f5b.tar.gz
jquery-ui-8bd0426e367b411b7631464d4e7157a50a641f5b.zip
Menu: Remove tablemenu visual test, broken and not interesting
Diffstat (limited to 'tests/visual/menu')
-rw-r--r--tests/visual/menu/tablemenu.html68
1 files changed, 0 insertions, 68 deletions
diff --git a/tests/visual/menu/tablemenu.html b/tests/visual/menu/tablemenu.html
deleted file mode 100644
index ca4345aed..000000000
--- a/tests/visual/menu/tablemenu.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <meta charset="utf-8">
- <title>Menu Visual Test: Default</title>
- <link rel="stylesheet" href="../visual.css" type="text/css" />
- <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
- <script type="text/javascript" src="../../../jquery-1.7.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.menu.js"></script>
- <script type="text/javascript">
- $(function() {
- var table = $("table");
- var colgroup = table.find("colgroup");
- var menu = $("<ul>").insertAfter(table);
- var thead = table.find("thead");
- thead.children("tr").addClass("ui-state-default");
- var rows = table.find("tbody tr");
- $("<table>").width("100%").append(colgroup.clone()).append(thead).wrap("<li>").parent().appendTo(menu);
- rows.each(function() {
- $("<table>").width("100%").append(colgroup.clone()).append(this).wrap("<li><a></a></li>").parent().parent().appendTo(menu);
- });
-
- menu.menu({
- select: function(event, ui) {
- $("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
- }
- });
- });
- </script>
- <style>
- body { font-size:62.5%; }
- .ui-menu { width: 200px; }
- </style>
-</head>
-<body>
-
-<table>
- <colgroup><col style="width: 50%"><col style="width: 50%"></colgroup>
- <thead>
- <tr>
- <th>Firstname</th>
- <th>Lastname</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Scott</td>
- <td>Gonzo</td>
- </tr>
- <tr>
- <td>Richy</td>
- <td>Worth</td>
- </tr>
- </tbody>
-</table>
-
-<div class="ui-widget" style="clear: left; margin-top:2em; font-family:Arial">
- Log:
- <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
-</div>
-
-<button id="toggle-disable">Disable / Enable</button>
-<button id="toggle-destroy">Destroy / Create</button>
-
-</body>
-</html>