info343/minilabs/11/solutions.php

<script src="<?= $BASENAME ?>/lib/global/js/prettify/lang-js.js" type="text/javascript"></script>

<p>Below is one possible solution to this problem.</p>

<header>
   <h3>Exercise 1: Convert to JSON</h3>
   <!-- <div class="workinglink"><a href="solution/images.json">working example</a></div> -->
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load(dirname(__FILE__) . "/solution/images.json")) ?></pre>

<header>
   <h3>Exercise 2: Ajax Request to JSON File</h3>
   <div class="workinglink"><a href="solution/minilab11.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load(dirname(__FILE__) . "/solution/minilab11.js")) ?></pre>