aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/all.html
blob: 405871ea7cdc2d18fad0720a91f76cf791c3c5fd (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
<!doctype html>
<html>
<head>
	<title>jQuery UI Static Markup Test Page</title>
	<link rel="stylesheet" href="../../themes/base/ui.base.css" type="text/css" />
	<link rel="stylesheet" href="../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
	<script type="text/javascript" src="../../jquery-1.3.1.js"></script>
	<script type="text/javascript" src="static.js"></script>
	<style type="text/css">
		dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
	</style>
</head>
<body style="font-size: 62.5%;">

<dl id="plugins">

</dl>

<script type="text/javascript">

var plugins = $("#plugins");

$("accordion datepicker dialog progressbar slider tabs".split(" ")).each(function() {

	var pluginName = this;
	var url = pluginName + '/' + pluginName + ".html";

	$('<dt><a href="' + url + '">' + url + '</a></dt>').appendTo(plugins);
	$('<dd class="plugin"></dd>').load(url, function() {
		var plugin = $(this).find(".ui-" + pluginName).remove();
		$(this).empty().append(plugin);
	}).appendTo(plugins);

});

</script>

</body>
</html>