display preloaded content if available (placeholder)

This commit is contained in:
Paul Bakaus 2008-12-23 18:17:07 +00:00
parent f03189c4c5
commit 86d650d7d1

View File

@ -17,13 +17,6 @@
<script type="text/javascript" src="../ui/ui.slider.js"></script> <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.sortable.js"></script>
<script type="text/javascript" src="../ui/ui.tabs.js"></script> <script type="text/javascript" src="../ui/ui.tabs.js"></script>
<script type="text/javascript">
$(function() {
})
</script>
</head> </head>
<body> <body>
<?php } ?> <?php } ?>
@ -73,11 +66,22 @@
</td> </td>
<td class="normal"> <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> <h3>Instructions</h3>
<p> <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. 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> </p>
<?php } ?>
</div> </div>
</td> </td>