Skip to content

Commit 86d650d

Browse files
author
Paul Bakaus
committed
display preloaded content if available (placeholder)
1 parent f03189c commit 86d650d

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

demos/index.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
<script type="text/javascript" src="../ui/ui.slider.js"></script>
1818
<script type="text/javascript" src="../ui/ui.sortable.js"></script>
1919
<script type="text/javascript" src="../ui/ui.tabs.js"></script>
20-
<script type="text/javascript">
21-
$(function() {
22-
23-
24-
25-
})
26-
</script>
2720
</head>
2821
<body>
2922
<?php } ?>
@@ -73,11 +66,22 @@
7366
</td>
7467
<td class="normal">
7568

76-
<div class="normal" id="containerDemo">
69+
<div class="normal">
70+
<?php
71+
72+
if(isset($_GET['load'])) {
73+
74+
//Preload the demo page here
75+
echo "<h1>".$_GET['load']."</h1>";
76+
77+
} else {
78+
79+
?>
7780
<h3>Instructions</h3>
7881
<p>
7982
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.
8083
</p>
84+
<?php } ?>
8185
</div>
8286

8387
</td>

0 commit comments

Comments
 (0)