This is just for testing purposes... no real functionality yet. Change-Id: I7d18033b01a7c3615e3d998da71062b25af22b28
27 lines
553 B
Plaintext
27 lines
553 B
Plaintext
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>
|