This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
/
mandolin.html
82 lines (61 loc) · 2.7 KB
/
mandolin.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Mandolin chord progressions</title>
<script type="text/javascript" src="lib/jquery-1.3.2.min.js"></script>
<!--[if IE]><script src="lib/excanvas.compiled.js"></script><![endif]-->
<script type="text/javascript" src="scripts/rendering.js"></script>
<script type="text/javascript" src="scripts/progressions.js"></script>
<script type="text/javascript" src="scripts/progressions.ui.js"></script>
<script type="text/javascript" src="chords/mandolindb.js"></script>
<link rel="stylesheet" type="text/css" href="css/blueprint.css" media="screen, projection">
<link rel="stylesheet" type="text/css" href="css/progressions.css" media="screen, projection">
</head>
<body>
<div class="container">
<div id="instruments">
Other instruments: <a href="ukulele.html">Ukulele</a>
</div>
<h1>Mandolin chord progressions</h1>
<ul id="scales">
<li>Scale:</li>
</ul>
<h3>Major chords</h3>
<div id="primaryChords"></div>
<h3>Accompanying minor chords</h3>
<div id="secondaryChords"></div>
<p class="quiet">
2009 Guðmundur Hreiðarsson |
Comments? <a href="mailto:gudmundur.hreidarsson@gmail.com">E-mail me</a>
</p>
</div>
<script type="text/javascript">
$(function() {
Progressions.UI.init(MandolinChordDb);
});
</script>
<!--#include file="tracking.inc"-->
</body>
</html>
<!--
Possible additions:
Global list of available instruments, could do something like:
// ID Database
Progressions.UI.addDatabase('mandolin', 'chords/mandolindb.js');
Progressions.UI.addDatabase('ukulele', 'chords/ukuleledb.js');
To enable SEO-friendlyness, we add this:
<ul class="instruments">
<li class="ukulele"><a href="progressions.html?ukulele">Ukulele</a></li>
<li class="mandolin"><a href="progressions.html?mandolin">Mandolin</a></li>
</ul>
The .instruments list tells which instruments we have - not the "addDatabase" calls.
The latter is only for registering databases for known instruments.
As last improvement implies, custom loading of .JS files
A "Please wait..." indication while UI is loaded
Hash-base URL parsing, as in
progressions.html#/mandolin/g-sharp/
Perhaps # and ? should be treated in the same way??
Building UI with JS works against SEO... bad?
Refactor ukulele.html and mandolin.html to use same HTML
-->