-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (107 loc) · 4.83 KB
/
Copy pathindex.html
File metadata and controls
118 lines (107 loc) · 4.83 KB
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
114
115
116
117
118
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Santa secreto</title>
<!-- ===========================
FAVICONS
=========================== -->
<link rel="icon" href="img/favicon.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-touch-icon-ipad-retina.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-touch-icon-iphone-retina.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="57x57" href="img/apple-touch-icon-iphone.png" />
<!-- ===========================
STYLESHEETS
=========================== -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="css/animate.css">
<!-- ===========================
FONTS
=========================== -->
<link href='http://fonts.googleapis.com/css?family=Raleway:400,900,600|Pacifico' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="hero">
<div class="redoverlay">
<div class="container">
<div class="row">
<div class="herotext">
<h2 class="wow zoomInDown" data-wow-duration="3s">Muchas felicidades Glou!!!</h2>
<h1 class="wow flipInY">¡Pásatela chido!</h1>
<a data-toggle="modal" data-target="#present" class="btn btn-reverse wow zoomIn" href="#" id="">
<h3>Si quieres tu regalo <span class="optional">Clickea aquí :D</span></h3>
</a>
<p class="wow fadeInUp" data-wow-duration="2s">De parte de tu amigo secreto @hg</p>
<img class="bigbell wow tada infinite" data-wow-duration="30s" src="img/bell.png" alt="">
</div>
<div class="santa wow bounceInDown" data-wow-duration="2s">
<img src="img/santa.png" alt="">
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="present" role="dialog" aria-labelledby="present" aria-hidden="true" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>
Regalo!!!
</h4>
</div>
<div id="modal-body" class="modal-body">
<p class="text-center">
<img src="img/magicword.gif" alt="magicword"/>
<form id="form" role="form">
<div class="form-group">
<label for="magicword">Magic word</label>
<input type="password" class="form-control" id="magicword" placeholder="Magic Word">
</div>
</form>
</p>
</div>
</div>
</div>
</div>
<div class="hidden" id="regalo">
<p style="color:black; font-weight:bold;">
Hola Glou, felicidades!!!!!<br/>
Tu regalo es una tarjeta de spotify para que escuches toda la Janis Joplin que quieras :D<br/>
Tarjeta: 60395341002005635171<br/>
Pin: BHNF9DM645E
</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="js/evenfly.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/snowstorm-min.js"></script>
<script>new WOW().init();</script>
<script>
$(document).ready(function(){
$('#present').on('show.bs.modal', function (e) {
var audio = new Audio('audio/ahahah.mp3');
audio.play();
});
$("#form").submit(function(){
if($("#magicword").val() !== "Feliz Navidad!"){
alert("Wrong!!");
$("#magicword").val("");
$("#magicword").focus();
return false;
}
else{
$("#modal-body").html($("#regalo").html());
return false;
}
});
})
</script>
</body>
</html>