blob: cac9b10704f6bfdabfe64a2785c1912b1e402ecb [file] [log] [blame]
Scott Main808eb3a2013-09-12 12:57:29 -07001page.title=Samples
2@jd:body
3
4
5<div id="samples">
6</div>
7
8
9
10<script>
11 $(document).ready(showSamples);
12
13 /** Display links and other information about samples that match the
14 group specified by the URL */
15 function showSamples() {
16 var group = getGroup();
17 $("#body-content h1").html(group);
18 $("#samples").html("<p>OK, here are some samples about <b>" + group + "</b>.</p>");
19 }
20
21 /** Return the group provided by the URL */
22 function getGroup() {
23 var hashParts = location.hash.split('t=');
24 return hashParts[1];
25 }
26</script>