aboutsummaryrefslogtreecommitdiffstats
path: root/tests/accordion.html
blob: 13079e1f284038ae8d81110eb4f6bd3ede99a367 (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
<!doctype html>
<html lang="en">
<head>
	<title>jQuery UI Accordion Test Suite</title>

	<script type="text/javascript" src="../jquery-1.2.6.js"></script>
	<script type="text/javascript" src="../ui/ui.core.js"></script>
	<script type="text/javascript" src="../ui/ui.accordion.js"></script>

	<link   type="text/css"       href="testsuite.css" rel="stylesheet" />
	<script type="text/javascript" src="testsuite.js"></script>
	<script type="text/javascript" src="qunit/testrunner.js"></script>
	<script type="text/javascript" src="simulate/jquery.simulate.js"></script>

	<script type="text/javascript" src="accordion.js"></script>
</head>
<body>

<div id="main">

	<div id="list1">
		<a>There is one obvious advantage:</a>
		<div>
			<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>
		<a>Now that you've got...</a>
		<div>
			<p>
				your bear, you have to admit it!<br/>
				No, we aren't selling bears.
			</p>
			<p>
				We could talk about renting one.
			</p>
		</div>
		<a>Rent one bear, ...</a>
		<div>
			<p>
				get two for three beer.
			</p>
			<p>
				And now, for something completely different.
			</p>
		</div>
	</div>

	<ul id="navigation">
		<li>
			<a class="head" href="?p=1.1.1">Guitar</a>
			<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>
			<a class="head" href="?p=1.1.2"><span>Bass</span></a>
			<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>
			<a class="head" href="?p=1.1.3">Drums</a>
			<ul>
				<li><a href="?p=1.1.3.2">Acoustic Drums</a></li>
				<li><a href="?p=1.1.3.3">Electronic Drums</a></li>
				<li><a href="?p=1.1.3.6">Accessories</a></li>
			</ul> 
		</li>
	</ul>
	<dl id="list2">
		<dt class="red">Red</dt>
		<dd>
			Fancy stuff about red thingies.
		</dd>
		<dt class="green selected">Green</dt>
		<dd>
			Green! Green! Green!
		</dd>
		<dt class="blue">Blue</dt>
		<dd>
			Cool kids are blue.
		</dd>
	</dl>

	<div id="list3">
		<div>
			<div class="title">Tennis</div>
			<div>
				One ball, two players. Lots of fun.
			</div>
		</div>
		<div>
			<div class="title">Soccer</div>
			<div>
				One ball, 22 players. Lots of fun.
			</div>
		</div>
		<div>
			<div class="title">Baseball</div>
			<div>
				Well, one ball, some guys running around, some guys hitting others with a stick.<br/>
				Sounds like fun, doesn't it?
			</div>
			<div>
				Well, apart from the running part.
			</div>
		</div>
	</div>

</div>

</body>
</html>