jquery-ui/tests/static/all.html
2009-01-22 09:13:28 +00:00

41 lines
1.1 KiB
HTML

<!doctype html>
<html>
<head>
<title>jQuery UI Static Markup Test Page</title>
<link rel="stylesheet" href="../../themes/base/ui.core.css" type="text/css" />
<link rel="stylesheet" href="../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
<link rel="stylesheet" href="../../themes/base/ui.allplugins.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="static_helpers.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 + ".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>