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-08-03 21:12:44 +00:00
|
|
|
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="../../../ui/jquery.ui.core.js"></script>
|
|
|
|
<script src="../../../ui/jquery.ui.widget.js"></script>
|
|
|
|
<script src="../../../ui/jquery.ui.menu.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../../../external/qunit.css">
|
|
|
|
<script src="../../../external/qunit.js"></script>
|
|
|
|
<script src="../../jquery.simulate.js"></script>
|
|
|
|
<script src="../testsuite.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function log(message,clear) {
|
|
|
|
if (clear && clear === true) {
|
|
|
|
$("#log").html("");
|
2010-05-06 15:10:52 +00:00
|
|
|
}
|
2011-08-03 21:12:44 +00:00
|
|
|
if ( message === undefined ) {
|
|
|
|
message = $("#log").data("lastItem");
|
2010-05-06 15:10:52 +00:00
|
|
|
}
|
2011-08-03 21:12:44 +00:00
|
|
|
$("#log").prepend( message + "," );
|
|
|
|
}
|
|
|
|
function clickMenu(menu,item) {
|
|
|
|
$("#log").data("lastItem",item);
|
|
|
|
$('li:eq(' + item + ') a',menu).trigger("click");
|
|
|
|
}
|
2010-05-06 15:10:52 +00:00
|
|
|
</script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="menu_core.js"></script>
|
|
|
|
<script src="menu_defaults.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-02-11 14:36:14 +00:00
|
|
|
<script type="text/javascript" src="../swarminject.js"></script>
|
2010-05-06 15:10:52 +00:00
|
|
|
<style>
|
2011-08-03 21:12:44 +00:00
|
|
|
#qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; }
|
|
|
|
#menu3 {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
#menu4, #menu4 ul {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2010-05-06 15:10:52 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1 id="qunit-header">jQuery UI Menu Test Suite</h1>
|
|
|
|
<h2 id="qunit-banner"></h2>
|
2011-02-21 16:09:02 +00:00
|
|
|
<div id="qunit-testrunner-toolbar"></div>
|
2010-05-06 15:10:52 +00:00
|
|
|
<h2 id="qunit-userAgent"></h2>
|
2011-08-03 21:12:44 +00:00
|
|
|
<ol id="qunit-tests"></ol>
|
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">
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
2010-05-06 15:10:52 +00:00
|
|
|
</ul>
|
2011-07-25 14:13:13 +00:00
|
|
|
|
|
|
|
<ul id="menu2">
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Delphi</a>
|
|
|
|
<ul>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Saarland</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Salzburg</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Saarland</a></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Salzburg</a>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="#">Delphi</a>
|
|
|
|
<ul>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Saarland</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Salzburg</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Delphi</a>
|
|
|
|
<ul>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Saarland</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Salzburg</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Perch</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu3">
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alexandria</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alger</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alledonia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alliance</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alpha</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvordton</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amanda</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amelia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amesville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alexandria</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alger</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alledonia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alliance</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alpha</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvordton</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amanda</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amelia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amesville</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu4">
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo">
|
|
|
|
<a class="foo" href="#">Ada</a>
|
|
|
|
<ul class="foo">
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alexandria</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alger</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alledonia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alliance</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alpha</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvordton</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amanda</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amelia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amesville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alexandria</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alger</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alledonia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alliance</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alpha</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvordton</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amanda</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amelia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amesville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Aberdeen</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Ada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adamsville</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Addyston</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adelphi</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adena</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Adrian</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Akron</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Albany</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alexandria</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alger</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alledonia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alliance</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alpha</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvada</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Alvordton</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amanda</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amelia</a></li>
|
|
|
|
<li class="foo"><a class="foo" href="#">Amesville</a></li>
|
|
|
|
</ul>
|
|
|
|
|
2010-05-06 15:10:52 +00:00
|
|
|
<div id="log"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|