-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (83 loc) · 2.68 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<html>
<head>
<!-- Stylesheets -->
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="stylesheets/main.css">
<!-- libraries -->
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
<script src="js/lib/ejs_production.js"></script>
<script src="js/lib/d3tip.js"></script>
</head>
<body>
<div id="wrapper">
<div id="title">
<div class="name one"> Sebastian Vettel</div>
<div class="name two">Lewis Hamilton</div>
<div id="pointswins">
<div class="txt">Wins </div>
<input type="checkbox" id="pointSelector">
<div class="txt">points</div>
</div>
</div>
<div id="timeline">
<div id="wrap_timeline"></div>
</div>
<div id="timelineNav">
<div id="miniTimeline">
</div>
<div id="selector"></div>
</div>
<div id="stats">
<div id="wrap-stats"></div>
</div>
</div>
<div id="misc"></div>
<style>
.switch, .switch2, .switch3 {
position: absolute;
bottom: 5;
right: 20;
z-index: 10000;
box-shadow: 0 0 5px black;
width: 50px;
height: 50px;
border-radius: 50px;
background-image: url(lauda.png);
background-size: cover;
background-position: center;
cursor: pointer;
}
.switch2{
right: 75px;
background-image: url(senna.jpg);
}
.switch3{
right: 130px;
background-image: url(vettel.jpg);
}
.switch:hover:before, .switch2:hover:before, .switch3:hover:before {
position: absolute;
display: block;
content: '';
top: 0;
left: 0;
height: 50px;
width: 50px;
background-color: rgba(0,0,0,0.4);
border-radius: 50%;
}
</style>
<div class="switch"></div>
<div class="switch2"></div>
<div class="switch3"></div>
<script src="js/vars.js"></script>
<script src="js/dataProcessing.js"></script>
<script src="js/timelineNav.js"></script>
<script src="js/tooltips.js"></script>
<script src="js/timeline.js"></script>
<script src="js/dataLoader.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>