-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (26 loc) · 836 Bytes
/
index.html
File metadata and controls
33 lines (26 loc) · 836 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Achtung! Cthulhu - Plot Generator</title>
</head>
<body>
<h1>
Achtung! Cthulhu - Plot Generator
</h1>
<button id="generate-plot">Generate New Plot</button>
<div id="plot"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="jquery-plot-generator.js"></script>
<script src="data-achtung-cthulhu.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#plot').generatePlot(AchtungCthulhu_PlotData, ['antagonist', 'plot', 'character']);
$('#generate-plot').on('click', function(e){
e.preventDefault();
$('#plot').generatePlot(AchtungCthulhu_PlotData, ['antagonist', 'plot', 'character']);
});
});
</script>
</body>
</html>