-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (94 loc) · 4.32 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
104
105
106
107
108
109
110
111
112
113
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Latino Nostalgia</title>
<meta name="Author-Miguel Hernandez" content="">
<!-- Custom CSS -->
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/card-index.css">
<link rel="stylesheet" type="text/css" href="css/button.css">
<!-- Bootstrap CSS -->
<script> // Google analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84560657-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<!-- TODO add slogan -->
<header id="home">
<div id="header-home-content">
<p id="header-home-title">Latino<br> Nostalgia</p>
</div>
<a target="_blank" href="http://embed.ly" id="embedly" ><img src="img/embedly.png"/></a>
</header>
<div class="card">
<div class="card-body">
<div class="card-step-1">
<h3>Step 1: Choose Year</h3>
</div>
<div class="card-selector">
<select>
<option value="2015.html">2015</option>
<option value="2014.html">2014</option>
<option value="2013.html">2013</option>
<option value="2012.html">2012</option>
<option value="2011.html">2011</option>
<option value="2010.html">2010</option>
<option value="2009.html">2009</option>
<option value="2008.html">2008</option>
<option value="2007.html">2007</option>
<option value="2006.html">2006</option>
<option value="2005.html">2005</option>
<option value="2004.html">2004</option>
<option value="2003.html">2003</option>
<option value="2002.html">2002</option>
<option value="2001.html">2001</option>
<option value="2000.html">2000</option>
<option value="1999.html">1999</option>
<option value="1998.html">1998</option>
<option value="1997.html">1997</option>
<option value="1996.html">1996</option>
<option value="1995.html">1995</option>
<option value="1994.html">1994</option>
<option value="1993.html">1993</option>
<option value="1992.html">1992</option>
<option value="1991.html">1991</option>
<option value="1990.html">1990</option>
<option value="1989.html">1989</option>
<option value="1988.html">1988</option>
<option value="1987.html">1987</option>
<option value="1986.html">1986</option>
<option value="1985.html">1985</option>
</select>
</div>
<div class="card-step-1">
<h3>Step 2: Listen</h3>
</div>
<button id="letsgo" class="butn butn--stripe">Vamos</button>
</div>
<!-- end of card -->
</div>
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
$("#letsgo").click(function(e) { // redirects page to desired year
if (getYear() == "Year") {
return false;
}
e.preventDefault();
window.location = "year/" + getYear() + ".html";
});
function getYear() { // function that gets the text inside a genre option
var choice = $("option:selected").text();
return choice;
};
</script>
</body>
</html>