aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/all/all_2.html
blob: 9040ca8e40d597e704903ed3b9ff0dfc17957b84 (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
<!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.js"></script>
	<script type="text/javascript" src="../../../ui/ui.core.js"></script>

	<script type="text/javascript">
	var components = ["accordion","datepicker","dialog","draggable","progressbar","resizable","selectable","slider","sortable","tabs"];

	$(function() {

		var $list = $("#individual_list"),
			$main = $("#main");

		$.each(components, function(i, val){
			$list.append('<li><a href="../' + val + '/' + val + '.html">' + val + '</a></li>');
			$('<div class="component_panel" id="' + val + '">').appendTo($main);
			$('#' + val).load(val + '.html #main *');
		});

		loadScripts();

		function loadScripts() {
			if ( $("div.component_panel").length == components.length ) {
				$.each(components, function(i, val){
					$('head').append('<script type="text/javascript" src="' + val + '.js"></scr'+'ipt>');
				});
			} else {
				setTimeout(loadScripts, 10);
			}
		}


	});


	</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="../../../cookie/jquery.cookie.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 id="individual_list">
	</ul>

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

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

	</div>

	</body>
</html>