-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
70 lines (65 loc) · 2.76 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<title>Object Dance Party</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.css" />
<script src="lib/jquery.js"></script>
<script src="lib/jquery-ui.js"></script>
<script src="src/dancer.js"></script>
<script src="src/blinkyDancer.js"></script>
<script src="src/turtleDancer.js"></script>
<script src="src/squidDancer.js"></script>
<script src="src/parrotDancer.js"></script>
<script src="src/ghostDancer.js"></script>
<script src="src/halloweenDancer.js"></script>
<script src="src/christmasDancer.js"></script>
<script>
$(document).ready(function() {
var curDate = new Date();
var curMonth = curDate.getMonth();
if (curMonth != 9) {
$("#halloweenbtn").hide();
}
if (curMonth != 11) {
$("#christmasbtn").hide();
}
});
</script>
</head>
<body>
<!-- check out deployed version at http://danceparty.surge.sh/ -->
<embed src="sync.mp3" autostart="true" loop="true" width="2" height="0">
</embed>
<div class="topbar">
<span class="title">object dance party</span>
<a href="#" id="halloweenbtn" class="addDancerButton btn" data-dancer-maker-function-name="MakeHalloweenDancer">
<i class="fa fa-plus" aria-hidden="true"></i> halloween dancer
</a>
<a href="#" id="christmasbtn" class="addDancerButton btn" data-dancer-maker-function-name="MakeChristmasDancer">
<i class="fa fa-plus" aria-hidden="true"></i> christmas dancers
</a>
<a href="#" class="addDancerButton btn" data-dancer-maker-function-name="MakeGhostDancer">
<i class="fa fa-plus" aria-hidden="true"></i> ghost dancer
</a>
<a href="#" class="addDancerButton btn" data-dancer-maker-function-name="MakeParrotDancer">
<i class="fa fa-plus" aria-hidden="true"></i> parrot dancer
</a>
<a href="#" class="addDancerButton btn" data-dancer-maker-function-name="MakeBlinkyDancer">
<i class="fa fa-plus" aria-hidden="true"></i> blinky dancer
</a>
<a href="#" class="addDancerButton btn" data-dancer-maker-function-name="MakeTurtleDancer">
<i class="fa fa-plus" aria-hidden="true"></i> turtle dancer
</a>
<a href="#" class="addDancerButton btn" data-dancer-maker-function-name="MakeSquidDancer">
<i class="fa fa-plus" aria-hidden="true"></i> squid dancer
</a>
<a href="#" class="lineUpButton btn">line up the dancers</a>
</div>
<audio controls="">
<source src="harlemshake.mp3" type="audio/mpeg">
</audio>
<script src="src/init.js"></script>
</body>
</html>