jquery-ui/tests/static/all.html
2010-01-27 12:29:43 +00:00

40 lines
1.0 KiB
HTML

<!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.4.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>