aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion.html
blob: 67928fd5d36583b5ac8259ed8de535dddc2686c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Accordion Test Suite</title>

	<script src="../../jquery.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>
	TestHelpers.loadResources({
		css: [ "ui.core", "ui.accordion" ],
		js: [
			"ui/jquery.ui.core.js",
			"ui/jquery.ui.widget.js",
			"ui/jquery.ui.accordion.js"
		]
	});
	</script>

	<script src="accordion_test_helpers.js"></script>
	<script src="accordion_common.js"></script>
	<script src="accordion_core.js"></script>
	<script src="accordion_events.js"></script>
	<script src="accordion_methods.js"></script>
	<script src="accordion_options.js"></script>

	<script src="../swarminject.js"></script>
	<style>
	#list, #list1 *, #navigation, #navigation * {
		margin: 0;
		padding: 0;
		font-size: 12px;
		line-height: 15px;
	}
	/* avoid IE7 oscillating between overflow visible and scroll values */
	#list1 > div {
		overflow: visible;
	}
	</style>
</head>
<body>
<h1 id="qunit-header">jQuery UI Accordion Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">

<div id="list1" class="foo">
	<h3 class="bar">There is one obvious advantage:</h3>
	<div class="foo">
		<p>
			You've seen it coming!
			<br>
			Buy now and get nothing for free!
			<br>
			Well, at least no free beer. Perhaps a bear, if you can afford it.
		</p>
	</div>
	<h3 class="bar">Now that you've got...</h3>
	<div class="foo">
		<p>
			your bear, you have to admit it!
			<br>
			No, we aren't <a href="#">selling bears</a>.
		</p>
		<p>
			We could talk about renting one.
		</p>
	</div>
	<h3 class="bar">Rent one bear, ...</h3>
	<div class="foo">
		<p>
			get two for three beer.
		</p>
		<p>
			And now, for something completely different.
		</p>
	</div>
</div>

<div id="navigationWrapper">
	<ul id="navigation">
		<li>
			<h2><a href="?p=1.1.1">Guitar</a></h2>
			<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>
			</ul>
		</li>
		<li>
			<h2><a href="?p=1.1.2"><span>Bass</span></a></h2>
			<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>
			</ul>
		</li>
		<li>
			<h2><a href="?p=1.1.3">Drums</a></h2>
			<ul>
				<li><a href="?p=1.1.3.2">Acoustic</a></li>
				<li><a href="?p=1.1.3.3">Electronic</a></li>
				<li><a href="?p=1.1.3.6">Accessories</a></li>
			</ul>
		</li>
	</ul>
</div>

<dl id="accordion-dl">
	<dt>
		Accordion Header 1
	</dt>
	<dd>
		Accordion Content 1
	</dd>
	<dt>
		Accordion Header 2
	</dt>
	<dd>
		Accordion Content 2
	</dd>
	<dt>
		Accordion Header 3
	</dt>
	<dd>
		Accordion Content 3
	</dd>
</dl>

</div>
</body>
</html>