summaryrefslogtreecommitdiffstats
path: root/docs/html/samples/topic.jd
blob: cac9b10704f6bfdabfe64a2785c1912b1e402ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
page.title=Samples
@jd:body


<div id="samples">
</div>



<script>
  $(document).ready(showSamples);

  /** Display links and other information about samples that match the
      group specified by the URL */
  function showSamples() {
    var group = getGroup();
    $("#body-content h1").html(group);
    $("#samples").html("<p>OK, here are some samples about <b>" + group + "</b>.</p>");
  }

  /** Return the group provided by the URL */
  function getGroup() {
    var hashParts = location.hash.split('t=');
    return hashParts[1];
  }
</script>