source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/tests/static/all.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1<!doctype html>
2<html>
3<head>
4 <title>jQuery UI Static Markup Test Page</title>
5 <link rel="stylesheet" href="../../themes/base/ui.base.css" type="text/css" />
6 <link rel="stylesheet" href="../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
7 <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
8 <script type="text/javascript" src="static.js"></script>
9 <style type="text/css">
10 dd.plugin { margin-top: 0.3em; margin-bottom: 1em; }
11 </style>
12</head>
13<body style="font-size: 62.5%;">
14
15<dl id="plugins">
16
17</dl>
18
19<script type="text/javascript">
20
21var plugins = $("#plugins");
22
23$("accordion datepicker dialog progressbar slider tabs".split(" ")).each(function() {
24
25 var pluginName = this;
26 var url = pluginName + '/' + pluginName + ".html";
27
28 $('<dt><a href="' + url + '">' + url + '</a></dt>').appendTo(plugins);
29 $('<dd class="plugin"></dd>').load(url, function() {
30 var plugin = $(this).find(".ui-" + pluginName).remove();
31 $(this).empty().append(plugin);
32 }).appendTo(plugins);
33
34});
35
36</script>
37
38</body>
39</html>
Note: See TracBrowser for help on using the repository browser.