2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2010-05-06 15:10:52 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-08-03 21:12:44 +00:00
|
|
|
<meta charset="utf-8">
|
2010-05-06 15:10:52 +00:00
|
|
|
<title>jQuery UI Menu Test Suite</title>
|
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2014-06-10 11:55:45 +00:00
|
|
|
<link rel="stylesheet" href="../../../external/qunit/qunit.css">
|
|
|
|
<script src="../../../external/qunit/qunit.js"></script>
|
2012-04-23 14:43:01 +00:00
|
|
|
<script src="../../jquery.simulate.js"></script>
|
|
|
|
<script src="../testsuite.js"></script>
|
2011-10-28 19:58:33 +00:00
|
|
|
<script>
|
2012-04-23 14:43:01 +00:00
|
|
|
TestHelpers.loadResources({
|
2013-12-02 18:36:12 +00:00
|
|
|
css: [ "core", "menu" ],
|
2011-10-28 19:58:33 +00:00
|
|
|
js: [
|
2013-12-02 18:36:12 +00:00
|
|
|
"ui/core.js",
|
|
|
|
"ui/widget.js",
|
|
|
|
"ui/menu.js"
|
2011-10-28 19:58:33 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
2011-08-04 01:15:38 +00:00
|
|
|
<script src="menu_test_helpers.js"></script>
|
2012-04-23 14:15:17 +00:00
|
|
|
<script src="menu_common.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="menu_core.js"></script>
|
|
|
|
<script src="menu_events.js"></script>
|
|
|
|
<script src="menu_methods.js"></script>
|
|
|
|
<script src="menu_options.js"></script>
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2011-08-04 01:15:38 +00:00
|
|
|
<script src="../swarminject.js"></script>
|
2010-05-06 15:10:52 +00:00
|
|
|
<style>
|
2011-08-04 01:15:38 +00:00
|
|
|
.ui-menu {
|
|
|
|
font-size: 15px;
|
2013-11-20 16:14:19 +00:00
|
|
|
line-height: 15px;
|
|
|
|
}
|
|
|
|
.ui-menu .ui-menu-item {
|
|
|
|
padding: 0;
|
2013-12-03 15:46:14 +00:00
|
|
|
/* Support: IE7 */
|
|
|
|
*display: block;
|
|
|
|
*float: left;
|
|
|
|
*clear: left;
|
2011-08-04 01:15:38 +00:00
|
|
|
}
|
2011-08-03 21:12:44 +00:00
|
|
|
#menu3 {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
#menu4, #menu4 ul {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2010-05-06 15:10:52 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2012-07-12 15:23:33 +00:00
|
|
|
<div id="qunit">jQuery UI Menu Test Suite</div>
|
2011-02-25 09:43:06 +00:00
|
|
|
<div id="qunit-fixture">
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2010-06-18 08:57:20 +00:00
|
|
|
<ul class="foo" id="menu1">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li id="testID1" class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
2010-05-06 15:10:52 +00:00
|
|
|
</ul>
|
2011-07-25 14:13:13 +00:00
|
|
|
|
|
|
|
<ul id="menu2">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo"><span class="ui-icon ui-icon-print"></span>Addyston</li>
|
|
|
|
<li>Delphi
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Saarland</li>
|
|
|
|
<li class="foo">Salzburg</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Saarland</li>
|
|
|
|
<li>Salzburg
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li>Delphi
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Saarland</li>
|
|
|
|
<li class="foo">Salzburg</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li>Delphi
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Ada</li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li> - </li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Saarland</li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li></li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Salzburg</li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li>–</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Perch</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu3">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
|
|
|
<li class="foo">Alexandria</li>
|
|
|
|
<li class="foo">Alger</li>
|
|
|
|
<li class="foo">Alledonia</li>
|
|
|
|
<li class="foo">Alliance</li>
|
|
|
|
<li class="foo">Alpha</li>
|
|
|
|
<li class="foo">Alvada</li>
|
|
|
|
<li class="foo">Alvordton</li>
|
|
|
|
<li class="foo">Amanda</li>
|
|
|
|
<li class="foo">Amelia</li>
|
|
|
|
<li class="foo">Amesville</li>
|
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
|
|
|
<li class="foo">Alexandria</li>
|
|
|
|
<li class="foo">Alger</li>
|
|
|
|
<li class="foo">Alledonia</li>
|
|
|
|
<li class="foo">Alliance</li>
|
|
|
|
<li class="foo">Alpha</li>
|
|
|
|
<li class="foo">Alvada</li>
|
|
|
|
<li class="foo">Alvordton</li>
|
|
|
|
<li class="foo">Amanda</li>
|
|
|
|
<li class="foo">Amelia</li>
|
|
|
|
<li class="foo">Amesville</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu4">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
<li class="foo">
|
2013-09-18 04:22:33 +00:00
|
|
|
Ada
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul class="foo">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
|
|
|
<li class="foo">Alexandria</li>
|
|
|
|
<li class="foo">Alger</li>
|
|
|
|
<li class="foo">Alledonia</li>
|
|
|
|
<li class="foo">Alliance</li>
|
|
|
|
<li class="foo">Alpha</li>
|
|
|
|
<li class="foo">Alvada</li>
|
|
|
|
<li class="foo">Alvordton</li>
|
|
|
|
<li class="foo">Amanda</li>
|
|
|
|
<li class="foo">Amelia</li>
|
|
|
|
<li class="foo">Amesville</li>
|
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
|
|
|
<li class="foo">Alexandria</li>
|
|
|
|
<li class="foo">Alger</li>
|
|
|
|
<li class="foo">Alledonia</li>
|
|
|
|
<li class="foo">Alliance</li>
|
|
|
|
<li class="foo">Alpha</li>
|
|
|
|
<li class="foo">Alvada</li>
|
|
|
|
<li class="foo">Alvordton</li>
|
|
|
|
<li class="foo">Amanda</li>
|
|
|
|
<li class="foo">Amelia</li>
|
|
|
|
<li class="foo">Amesville</li>
|
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li class="foo">Adelphi</li>
|
|
|
|
<li class="foo">Adena</li>
|
|
|
|
<li class="foo">Adrian</li>
|
|
|
|
<li class="foo">Akron</li>
|
|
|
|
<li class="foo">Albany</li>
|
|
|
|
<li class="foo">Alexandria</li>
|
|
|
|
<li class="foo">Alger</li>
|
|
|
|
<li class="foo">Alledonia</li>
|
|
|
|
<li class="foo">Alliance</li>
|
|
|
|
<li class="foo">Alpha</li>
|
|
|
|
<li class="foo">Alvada</li>
|
|
|
|
<li class="foo">Alvordton</li>
|
|
|
|
<li class="foo">Amanda</li>
|
|
|
|
<li class="foo">Amelia</li>
|
|
|
|
<li class="foo">Amesville</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
|
2011-09-14 15:29:36 +00:00
|
|
|
<div id="menu5">
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Aberdeen</blockquote>
|
|
|
|
<blockquote>Ada</blockquote>
|
|
|
|
<blockquote>Adamsville</blockquote>
|
|
|
|
<blockquote>Addyston</blockquote>
|
|
|
|
<blockquote>Delphi
|
2011-09-14 15:29:36 +00:00
|
|
|
<div>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Ada</blockquote>
|
|
|
|
<blockquote>Saarland</blockquote>
|
|
|
|
<blockquote>Salzburg</blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Saarland</blockquote>
|
|
|
|
<blockquote>Salzburg
|
2011-09-14 15:29:36 +00:00
|
|
|
<div>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Delphi
|
2011-09-14 15:29:36 +00:00
|
|
|
<div>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Ada</blockquote>
|
|
|
|
<blockquote id="testID2">Saarland</blockquote>
|
|
|
|
<blockquote>Salzburg</blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Delphi
|
2011-09-14 15:29:36 +00:00
|
|
|
<div>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Ada</blockquote>
|
|
|
|
<blockquote>Saarland</blockquote>
|
|
|
|
<blockquote>Salzburg</blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote>Perch</blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
|
2012-04-19 02:29:39 +00:00
|
|
|
<ul id="menu6">
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Aberdeen</li>
|
|
|
|
<li class="foo ui-state-disabled">Ada</li>
|
|
|
|
<li class="foo">Adamsville</li>
|
|
|
|
<li class="foo">Addyston</li>
|
|
|
|
<li id="testID3" class="ui-state-disabled">Delphi
|
2012-04-19 02:29:39 +00:00
|
|
|
<ul>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Ada</li>
|
|
|
|
<li class="foo">Saarland</li>
|
|
|
|
<li class="foo">Salzburg</li>
|
2012-04-19 02:29:39 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2013-09-18 04:22:33 +00:00
|
|
|
<li class="foo">Saarland</li>
|
2012-04-19 02:29:39 +00:00
|
|
|
</ul>
|
|
|
|
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul id="menu7">
|
|
|
|
<li class="ui-menu-group"><strong>Group 1</strong></li>
|
|
|
|
<li>Aberdeen</li>
|
|
|
|
<li>Ada</li>
|
|
|
|
<li>Adamsville</li>
|
|
|
|
<li>Addyston</li>
|
|
|
|
<li></li>
|
|
|
|
<li class="ui-menu-group"><strong>Group 2</strong></li>
|
|
|
|
<li>Delphi
|
|
|
|
<ul>
|
|
|
|
<li>Ada</li>
|
|
|
|
<li>Saarland</li>
|
|
|
|
<li>Salzburg</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Saarland</li>
|
|
|
|
<li>---</li>
|
|
|
|
<li class="ui-menu-group"><strong>Group 3</strong></li>
|
|
|
|
<li>Salzburg
|
|
|
|
<ul>
|
|
|
|
<li>Delphi
|
|
|
|
<ul>
|
|
|
|
<li>Ada</li>
|
|
|
|
<li> - </li>
|
|
|
|
<li>Saarland</li>
|
|
|
|
<li>—</li>
|
|
|
|
<li>Salzburg</li>
|
|
|
|
<li>–</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Delphi
|
|
|
|
<ul>
|
|
|
|
<li>Ada</li>
|
|
|
|
<li>Saarland</li>
|
|
|
|
<li>Salzburg</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Perch</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Amesville</li>
|
|
|
|
</ul>
|
|
|
|
|
2010-05-06 15:10:52 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|