2011-04-04 13:12:08 +00:00
|
|
|
<!doctype html>
|
2008-06-04 02:34:33 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-01-24 19:38:23 +00:00
|
|
|
<meta charset="utf-8">
|
2008-06-04 02:34:33 +00:00
|
|
|
<title>jQuery UI Accordion Test Suite</title>
|
2008-11-18 02:55:25 +00:00
|
|
|
|
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", "accordion" ],
|
2011-10-28 19:58:33 +00:00
|
|
|
js: [
|
2013-12-02 18:36:12 +00:00
|
|
|
"ui/core.js",
|
|
|
|
"ui/widget.js",
|
|
|
|
"ui/accordion.js"
|
2011-10-28 19:58:33 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
2008-11-18 02:55:25 +00:00
|
|
|
|
2011-08-03 17:52:36 +00:00
|
|
|
<script src="accordion_test_helpers.js"></script>
|
2012-04-23 14:15:17 +00:00
|
|
|
<script src="accordion_common.js"></script>
|
2011-01-25 00:20:09 +00:00
|
|
|
<script src="accordion_core.js"></script>
|
2011-01-24 19:38:23 +00:00
|
|
|
<script src="accordion_events.js"></script>
|
|
|
|
<script src="accordion_methods.js"></script>
|
|
|
|
<script src="accordion_options.js"></script>
|
|
|
|
|
|
|
|
<script src="../swarminject.js"></script>
|
2009-09-15 21:27:32 +00:00
|
|
|
<style>
|
2011-08-03 17:52:36 +00:00
|
|
|
#list, #list1 *, #navigation, #navigation * {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 15px;
|
|
|
|
}
|
2012-12-28 09:41:05 +00:00
|
|
|
/* avoid IE7 oscillating between overflow visible and scroll values */
|
|
|
|
#list1 > div {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2009-09-15 21:27:32 +00:00
|
|
|
</style>
|
2008-06-04 02:34:33 +00:00
|
|
|
</head>
|
2008-06-07 19:26:35 +00:00
|
|
|
<body>
|
2014-02-20 16:02:23 +00:00
|
|
|
<div id="qunit"></div>
|
2011-02-23 11:46:13 +00:00
|
|
|
<div id="qunit-fixture">
|
2008-06-04 02:34:33 +00:00
|
|
|
|
2011-03-23 13:51:42 +00:00
|
|
|
<div id="list1" class="foo">
|
2012-02-27 02:37:44 +00:00
|
|
|
<h3 class="bar">There is one obvious advantage:</h3>
|
2011-03-23 13:51:42 +00:00
|
|
|
<div class="foo">
|
|
|
|
<p>
|
|
|
|
You've seen it coming!
|
2011-08-04 01:43:52 +00:00
|
|
|
<br>
|
2011-03-23 13:51:42 +00:00
|
|
|
Buy now and get nothing for free!
|
2011-08-04 01:43:52 +00:00
|
|
|
<br>
|
2011-03-23 13:51:42 +00:00
|
|
|
Well, at least no free beer. Perhaps a bear, if you can afford it.
|
|
|
|
</p>
|
|
|
|
</div>
|
2012-02-27 02:37:44 +00:00
|
|
|
<h3 class="bar">Now that you've got...</h3>
|
2011-03-23 13:51:42 +00:00
|
|
|
<div class="foo">
|
|
|
|
<p>
|
|
|
|
your bear, you have to admit it!
|
2011-08-04 01:43:52 +00:00
|
|
|
<br>
|
2012-03-27 20:49:05 +00:00
|
|
|
No, we aren't <a href="#">selling bears</a>.
|
2011-03-23 13:51:42 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
We could talk about renting one.
|
|
|
|
</p>
|
2008-06-21 16:16:59 +00:00
|
|
|
</div>
|
2012-02-27 02:37:44 +00:00
|
|
|
<h3 class="bar">Rent one bear, ...</h3>
|
2011-03-23 13:51:42 +00:00
|
|
|
<div class="foo">
|
|
|
|
<p>
|
|
|
|
get two for three beer.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
And now, for something completely different.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2008-06-04 02:34:33 +00:00
|
|
|
|
2009-08-11 18:58:03 +00:00
|
|
|
<div id="navigationWrapper">
|
2008-06-21 16:16:59 +00:00
|
|
|
<ul id="navigation">
|
|
|
|
<li>
|
2009-07-03 21:05:22 +00:00
|
|
|
<h2><a href="?p=1.1.1">Guitar</a></h2>
|
2008-06-21 16:16:59 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="?p=1.1.1.1">Electric</a></li>
|
|
|
|
<li><a href="?p=1.1.1.2">Acoustic</a></li>
|
|
|
|
<li><a href="?p=1.1.1.3">Amps</a></li>
|
|
|
|
<li><a href="?p=1.1.1.4">Effects</a></li>
|
|
|
|
<li><a href="?p=1.1.1.5">Accessories</a></li>
|
2012-04-23 14:15:17 +00:00
|
|
|
</ul>
|
2008-06-21 16:16:59 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2009-07-03 21:05:22 +00:00
|
|
|
<h2><a href="?p=1.1.2"><span>Bass</span></a></h2>
|
2008-06-21 16:16:59 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="?p=1.1.2.1">Electric</a></li>
|
|
|
|
<li><a href="?p=1.1.2.2">Acoustic</a></li>
|
|
|
|
<li><a href="?p=1.1.2.3">Amps</a></li>
|
|
|
|
<li><a href="?p=1.1.2.4">Effects</a></li>
|
|
|
|
<li><a href="?p=1.1.2.5">Accessories</a></li>
|
|
|
|
<li><a href="?p=1.1.2.5">Accessories</a></li>
|
|
|
|
<li><a href="?p=1.1.2.5">Accessories</a></li>
|
2012-04-23 14:15:17 +00:00
|
|
|
</ul>
|
2008-06-21 16:16:59 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2009-07-03 21:05:22 +00:00
|
|
|
<h2><a href="?p=1.1.3">Drums</a></h2>
|
2008-06-21 16:16:59 +00:00
|
|
|
<ul>
|
2011-04-04 15:33:09 +00:00
|
|
|
<li><a href="?p=1.1.3.2">Acoustic</a></li>
|
|
|
|
<li><a href="?p=1.1.3.3">Electronic</a></li>
|
2008-06-21 16:16:59 +00:00
|
|
|
<li><a href="?p=1.1.3.6">Accessories</a></li>
|
2012-04-23 14:15:17 +00:00
|
|
|
</ul>
|
2008-06-21 16:16:59 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2009-08-11 18:58:03 +00:00
|
|
|
</div>
|
2008-11-18 02:55:25 +00:00
|
|
|
|
2011-03-23 14:07:09 +00:00
|
|
|
<dl id="accordion-dl">
|
|
|
|
<dt>
|
2012-02-27 02:37:44 +00:00
|
|
|
Accordion Header 1
|
2011-03-23 14:07:09 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Accordion Content 1
|
|
|
|
</dd>
|
|
|
|
<dt>
|
2012-02-27 02:37:44 +00:00
|
|
|
Accordion Header 2
|
2011-03-23 14:07:09 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Accordion Content 2
|
|
|
|
</dd>
|
|
|
|
<dt>
|
2012-02-27 02:37:44 +00:00
|
|
|
Accordion Header 3
|
2011-03-23 14:07:09 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Accordion Content 3
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
2008-06-04 02:34:33 +00:00
|
|
|
</div>
|
2008-06-07 19:26:35 +00:00
|
|
|
</body>
|
|
|
|
</html>
|