aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/all/all.html
blob: ccb3debf5d81be62ac81f54877a92df72a8bf440 (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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!doctype html>
<html lang="en">
<head>
	<title>jQuery UI All Tests</title>
	<link rel="stylesheet" href="../testsuite.css" type="text/css">

	<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
	<script type="text/javascript" src="../../../ui/ui.core.js"></script>
	<script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
	<script type="text/javascript" src="../../../ui/ui.datepicker.js"></script>
	<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
	<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
	<script type="text/javascript" src="../../../ui/ui.droppable.js"></script>
	<script type="text/javascript" src="../../../ui/ui.progressbar.js"></script>
	<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
	<script type="text/javascript" src="../../../ui/ui.selectable.js"></script>
	<script type="text/javascript" src="../../../ui/ui.slider.js"></script>
	<script type="text/javascript" src="../../../ui/ui.sortable.js"></script>
	<script type="text/javascript" src="../../../ui/ui.tabs.js"></script>

	<script type="text/javascript" src="../../../external/qunit/testrunner.js"></script>
	<script type="text/javascript" src="../../../external/simulate/jquery.simulate.js"></script>
	<script type="text/javascript" src="../../../external/cookie/jquery.cookie.js"></script>

	<script type="text/javascript" src="../accordion/accordion.js"></script>
	<script type="text/javascript" src="../datepicker/datepicker.js"></script>
	<script type="text/javascript" src="../dialog/dialog.js"></script>
	<script type="text/javascript" src="../draggable/draggable.js"></script>
	<script type="text/javascript" src="../droppable/droppable.js"></script>
	<script type="text/javascript" src="../progressbar/progressbar.js"></script>
	<script type="text/javascript" src="../resizable/resizable.js"></script>
	<script type="text/javascript" src="../selectable/selectable.js"></script>
	<script type="text/javascript" src="../slider/slider.js"></script>
	<script type="text/javascript" src="../sortable/sortable.js"></script>
	<script type="text/javascript" src="../tabs/tabs.js"></script>

	<style type="text/css">
		@import "../../../themes/base/ui.datepicker.css";
		.xerror, .error, .ui-tabs-hide {
		    display: none;
		}
	</style>

</head>
<body>
	<h1>jQuery UI All Tests</h1>
	<h2 id="banner"></h2>
	<h2 id="userAgent"></h2>

	<h4>Run individual testsuites or doubleclick a test below</h4>
	<ul>
		<li><a href="accordion.html">Accordion</a></li>
		<li><a href="datepicker.html">Datepicker</a></li>
		<li><a href="dialog.html">Dialog</a></li>
		<li><a href="draggable.html">Draggable</a></li>
		<li><a href="resizable.html">Resizable</a></li>
		<li><a href="selectable.html">Selectable</a></li>
		<li><a href="slider.html">Slider</a></li>
		<li><a href="sortable.html">Sortable</a></li>
		<li><a href="tabs.html">Tabs</a></li>
	</ul>

	<ol id="tests"></ol>

	<div id="main" style="position:absolute;top:-2000000px;">

	<p><input type="text" id="dp1"/><input type="text" id="rem"/></p>

	<div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div>
	<div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div>

	<div id="slider1"></div>
	<div id="slider3" style="position: relative; margin: 40px; width: 217px; height: 28px;">
		<div class="ui-slider-handle" style="position: absolute; height: 21px; left: 0px; bottom: 0px; width: 17px;"></div>
	</div>

	<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 id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div>
	<img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;"/>


	<ul id="selectable1">
		<li>Item 1</li>
		<li>Item 2</li>
		<li class="special">Item 3</li>
		<li>Item 4</li>
		<li>Item 5</li>
	</ul>

	<ul id="sortable">
		<li>Item 1</li>
		<li>Item 2</li>
		<li>Item 3</li>
		<li>Item 4</li>
		<li>Item 5</li>
	</ul>

	<p><input type="text" id="inp"/><input type="text" id="alt"/><div id="inl"></div></p>

	<input type="text" id="spin" />

	<div id="progressbar"></div>

    <div id="tabs1">
		<ul>
			<li><a href="#fragment-1">1</a></li>
			<li><a href="#fragment-2">2</a></li>
			<li><a href="#fragment-3">3</a></li>
		</ul>
		<div id="fragment-1"></div>
		<div id="fragment-2"></div>
		<div id="fragment-3"></div>
	</div>
	<div id="tabs2">
		<ul>
			<li><a href="#colon:test">1</a></li>
			<li><a href="#inline-style">2</a></li>
		</ul>
		<div id="colon:test"></div>
		<div style="height: 300px;" id="inline-style"></div>
	</div>

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