diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-05 20:16:37 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-05 20:16:37 +0000 |
commit | d8841a752b594921ab88a14fd92d8a6c3e19e0f8 (patch) | |
tree | 5f5f5fa91857e9dab04ec6d2a68ff045828664e7 /tests/static/all.html | |
parent | 31a11f073d9428c77296e7552e7ea6a75432eb5d (diff) | |
download | jquery-ui-d8841a752b594921ab88a14fd92d8a6c3e19e0f8.tar.gz jquery-ui-d8841a752b594921ab88a14fd92d8a6c3e19e0f8.zip |
Added new jQuery UI CSS Framework (/themes/base) and matching static markup test pages. Thanks scottjehl :)
Diffstat (limited to 'tests/static/all.html')
-rw-r--r-- | tests/static/all.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/static/all.html b/tests/static/all.html new file mode 100644 index 000000000..ef580d5f8 --- /dev/null +++ b/tests/static/all.html @@ -0,0 +1,37 @@ +<!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>
|