| 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> |