-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (47 loc) · 1.41 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Dominik's Trimino Bastelstunde</title>
<script type="text/javascript" src="d3.js" charset="utf-8"></script>
<!-- <script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG">
</script> -->
<!-- in #chart / width percentage for scaling to paper can be set. Bigger means
smaller SVG in printout. 130% is a good value for DIN A4 -->
<style tyle="text/css">
@media print {
#chart {
width: 130%;
margin: 0px;
padding: 0px;
page-break-inside : avoid;
}
}
</style>
<!-- text pairs for modification -->
<script type="text/javascript">
var pairs = [
['uno', 'eins'],
['dos', 'zwei'],
['tres', 'drei'],
['cuatro', 'vier'],
['cinco', 'fünf'],
['seis', 'sechs'],
['siete', 'sieben'],
['ocho', 'acht'],
['nueve', 'neun'],
['diez', 'zehn'],
['once', 'elf'],
['doce', 'zwölf']
];
</script>
</head>
<body>
<div id="chart">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
</svg>
</div>
<div id="footer"></div>
<script type="text/javascript" src="triangles.js" charset="utf-8"></script>
</body>
</html>