jquery-ui/tests/static/all.html
2008-12-05 20:19:46 +00:00

38 lines
842 B
HTML

<!doctype html>
<html>
<head>
<title>jQuery UI Static Markup Test Page</title>
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<style type="text/css">
dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
</style>
</head>
<body>
<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>