Tone.js/examples/index.html

62 lines
1.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>EXAMPLES</title>
2014-09-09 19:30:53 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
2014-09-05 05:31:10 +00:00
<script type="text/javascript" src="./deps/jquery.min.js"></script>
2015-02-12 03:39:28 +00:00
<script type="text/javascript" src="./scripts/ExampleList.js"></script>
2015-02-26 16:25:16 +00:00
<link rel="stylesheet" type="text/css" href="./style/examples.css">
2014-09-05 05:31:10 +00:00
</head>
<body>
2015-02-26 16:25:16 +00:00
<style type="text/css">
#Content {
2015-02-28 23:07:12 +00:00
width: 300px;
2015-02-26 16:25:16 +00:00
margin-bottom: 30px;
}
</style>
<div id="TopBar">
<div id="Homepage" title="github">
<a href="http://github.com/TONEnoTONE/Tone.js">Tone.js</a>
2014-09-05 05:31:10 +00:00
</div>
2015-02-26 16:25:16 +00:00
<div id="Examples" title="examples">
<a href="./index.html">examples</a>
2014-09-05 05:31:10 +00:00
</div>
</div>
2015-02-26 16:25:16 +00:00
<div id="Content"></div>
2014-09-05 05:31:10 +00:00
<script type="text/javascript">
var content = $("#Content");
for (var catName in ExampleList){
$("<div>").addClass("Category").text(catName)
.appendTo(content);
var category = ExampleList[catName];
for (var example in category){
$("<div>").addClass("Item")
.appendTo(content)
.html($("<a>").attr("href", category[example]+".html").text(example));
}
}
</script>
<style type="text/css">
2014-09-05 05:31:10 +00:00
#Content div{
font-size: 14px;
margin-top: 5px;
}
a:visited {
color: black;
}
a {
2014-09-05 05:31:10 +00:00
margin-left: 10px;
color: black;
}
.Category {
font-weight: 900;
}
</style>
</body>
</html>