aboutsummaryrefslogtreecommitdiffstats
path: root/demos/index.html
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-12-23 18:17:07 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-12-23 18:17:07 +0000
commit86d650d7d1bc91352afd8861bfec56f16f027841 (patch)
tree64172e4b17ce7a7fb486e4d8c0c34305b6795a91 /demos/index.html
parentf03189c4c5edca000873df2dfc0f75bd064d0ac9 (diff)
downloadjquery-ui-86d650d7d1bc91352afd8861bfec56f16f027841.tar.gz
jquery-ui-86d650d7d1bc91352afd8861bfec56f16f027841.zip
display preloaded content if available (placeholder)
Diffstat (limited to 'demos/index.html')
-rw-r--r--demos/index.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/demos/index.html b/demos/index.html
index 031aef1c8..ee0c629ee 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -17,13 +17,6 @@
<script type="text/javascript" src="../ui/ui.slider.js"></script>
<script type="text/javascript" src="../ui/ui.sortable.js"></script>
<script type="text/javascript" src="../ui/ui.tabs.js"></script>
- <script type="text/javascript">
- $(function() {
-
-
-
- })
- </script>
</head>
<body>
<?php } ?>
@@ -73,11 +66,22 @@
</td>
<td class="normal">
- <div class="normal" id="containerDemo">
+ <div class="normal">
+ <?php
+
+ if(isset($_GET['load'])) {
+
+ //Preload the demo page here
+ echo "<h1>".$_GET['load']."</h1>";
+
+ } else {
+
+ ?>
<h3>Instructions</h3>
<p>
The functional demos are provided to give users an idea of how jQuery UI works. You only need to copy and paste code from the demos. Have fun playing with it.
</p>
+ <?php } ?>
</div>
</td>